---------------------------------------------------------------------------
AttributeError Traceback (most recent call last)
<ipython-input-14-4f83046a4c01> in <module>
1 corr_graf = corrplot.Corrplot(matriz_corr)
----> 2 corr_graf.plot(upper='ellipse')
3 fig = plt.gcf()
4 fig.set_size_inches(13,8)
5 fig.show()
~\anaconda3\lib\site-packages\biokit\viz\corrplot.py in plot(self, fig, grid, rotation, lower, upper, shrink, facecolor, colorbar, label_color, fontsize, edgecolor, method, order_method, order_metric, cmap, ax, binarise_color)
333 boundaries= np.linspace(0,1,N), ticks=[0,.25, 0.5, 0.75,1])
334 cb.ax.set_yticklabels([-1,-.5,0,.5,1])
--> 335 cb.set_clim(0,1) # make sure it goes from -1 to 1 even though actual values may not reach that range
336
337 def _add_patches(self, df, method, fill, ax, diagonal=True):
AttributeError: 'Colorbar' object has no attribute 'set_clim'
Como resolvo esse problema? Tenho que fazer o downgrade do Matplotlib?