bbalasub1 / glmnet_python

GNU General Public License v3.0
200 stars 95 forks source link

Minor problems with cvglmnetPlot.py and matplotlib3.0.0 #35

Closed michaelcoconnor closed 5 years ago

michaelcoconnor commented 6 years ago

The matplotlib docs here and here confirm that matplotlib.pyplot.hold has been deprecated. Consequently with matplotlib3.0.0 cvglmnetPlot.py throws an error due to line 83: plt.hold(True).

Also, plt.show() at the very end is commented out. These two glitches cause the In [25]: cvglmnetPlot(cvmfit) line in the tutorial example for the Linear Regression: Multiresponse Gaussian Family to fail.

bbalasub1 commented 5 years ago

Many thanks! It has been removed now.