I have some-what old code where I was using a method called candlestick2_ohlc from matplotlib package. And the code goes something like that:
import matplotlib.pyplot as plt
from matplotlib.finance import candlestick2_ohlc
...
fig = plt.figure(facecolor='#131722',dpi=135)
ax1 = plt.subplot2grid((6,4), (1,0), rowspan=4, colspan=4, facecolor='#131722')
candlestick2_ohlc(ax1, ...)
...
And now it shows this error message:
ModuleNotFoundError: No module named 'matplotlib.finance'
I'm using python 3.7.6 and matplotlib 3.1.3