I would like you to point out to me where does the python indentation inconsistency lie here?
Using matplotlib to plot price data, and even all looks good, but getting an error TabError: inconsistent use of tabs and spaces in indentation. File "candles_indexes.py", line 19 candle_ohlc = candlestick_ohlc(self.ax, self.stock_data.values, width = 0.6, colorup = 'green', colordown = 'red', alpha = 0.8)
The error suggestion is pointing out that the mistake lies at the very end of that line.
But here is the code, all looks good to me...
def display_candle_bars(self):
fig, ax = plt.subplots()
#Describe candle properties
candle_ohlc = candlestick_ohlc(self.ax, self.stock_data.values, width = 0.6, colorup = 'green', colordown = 'red', alpha = 0.8)
#allow grid
ax.grid(True)
#Setting labels
ax.set_xlabel('Date')
ax.set_ylabel('Price')
Any ideas?