You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if os.environ.get('DISPLAY', '') == '':
print('no display found. Using non-interactive Agg backend')
mpl.use('Agg')
This throws an error and won't display plots in Windows 10 using Jupyter (due to 'Agg' being non-GUI) unless you order your imports correctly.
This does not work in windows command line. When you run python from cmd, plt.show() opens a window with the plot. However, the DISPLAY key is not defined in the os.environ dict. ..... – Jindra Helcl May 28 '15 at 17:25
So, this is not displaying plots in (Jupyter) using Windows
%matplotlib inline
import matplotlib.pyplot as plt
from dmba import regressionSummary
But this will display plots properly (still showing the error above):
from dmba import regressionSummary
%matplotlib inline
import matplotlib.pyplot as plt
The text was updated successfully, but these errors were encountered:
Thank you for the feedback. I've made a change to avoid the DISPLAY environment variable test on windows and updated the package. As I don't have a windows machine, can you please give it a try?
This throws an error and won't display plots in Windows 10 using Jupyter (due to 'Agg' being non-GUI) unless you order your imports correctly.
So, this is not displaying plots in (Jupyter) using Windows
But this will display plots properly (still showing the error above):
The text was updated successfully, but these errors were encountered: