Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error executing matplotlib.pyplot.subplots()

I have a script that creates png images from log data. It works fine on a production machine, but now spits errors on a new box while processing this line:

    fig, ax = plt.subplots(1,1, figsize=(20,14))


AttributeError: 'module' object has no attribute 'subplots'

I suspect issues in version differences in various modules. Any insights?

like image 300
nom-mon-ir Avatar asked Nov 13 '22 06:11

nom-mon-ir


1 Answers

Latest version of Ipython does not have this issue. Putting it as answer as suggested by @Jay Bosamiya to make this question closed.

like image 56
nom-mon-ir Avatar answered Dec 06 '22 17:12

nom-mon-ir