candlestick2_ohlc plotting alignment problem
andyfcx opened this issue · comments
Chu-An, Huang commented
Eric Firing commented
Assuming your first argument is the Axis object, ax
, you can use
ax.margin(x=0)
or equivalently
ax.set_xmargin(0)
The default can be controlled via a matplotlibrc file, or by directly setting
plt.rcParams['axes.xmargin'] = 0