Overlapping Dates in Candlestick Plot from a Pandas DataFrame
问题 I have a pandas dataframe output as follows Open High Low Close 2016-06-01 69.60 70.20 69.44 69.76 2016-06-02 70.00 70.15 69.45 69.54 2016-06-03 69.51 70.48 68.62 68.91 2016-06-04 69.51 70.48 68.62 68.91 2016-06-05 69.51 70.48 68.62 68.91 2016-06-06 70.49 71.44 69.84 70.11 I've used the following code to make the candlestick plot: import pandas as pd import numpy as np import matplotlib.pyplot as plt import matplotlib.ticker as mticker from matplotlib.finance import candlestick_ohlc import