changed line 14 from matplotlib.use('Agg') to # matplotlib.use('Agg')
This use of matplotlib.use('Agg') assumes that this file is the first file used in an interactive mode. If the user has a default backend, then this line causes redundant errors that are unnecessary.
changed
line 14
frommatplotlib.use('Agg')
to# matplotlib.use('Agg')
This use of
matplotlib.use('Agg')
assumes that this file is the first file used in an interactive mode. If the user has a defaultbackend
, then this line causes redundant errors that are unnecessary.