Just use
import matplotlib.pyplot as plt
plt.show()
This command tells the system to draw the plot in Pycharm.
Example:
plt.imshow(img.reshape((28, 28)))
plt.show()
More Related Contents:
- “UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, so cannot show the figure.” when plotting figure with pyplot on Pycharm
- Annotate bars with values on Pandas bar plots
- Is there a way to make a discontinuous axis in Matplotlib?
- How to change the font size on a matplotlib plot
- What’s the fastest way of checking if a point is inside a polygon in python
- plot different color for different categorical levels using matplotlib
- Label python data points on plot
- How to link PyCharm with PySpark?
- Shifted colorbar matplotlib
- Expand the line with specified width in data unit
- How can I tell PyCharm what type a parameter is expected to be?
- How do I plot only a table in Matplotlib?
- Axes class – set explicitly size (width/height) of axes in given units
- How to get pixel coordinates for Matplotlib-generated scatterplot?
- Get matplotlib color cycle state
- Annotate Time Series plot in Matplotlib
- Changing plot scale by a factor in matplotlib
- How to configure Python Kivy for PyCharm on Windows?
- How to set default colormap in Matplotlib
- Matplotlib python show() returns immediately
- PyCharm doesn’t recognize installed module
- How do I set the figure title and axes labels font size?
- How do I equalize the scales of the x-axis and y-axis?
- How to set ticks on Fixed Position , matplotlib
- How can I use seaborn without changing the matplotlib defaults?
- (python) plot 3d surface with colormap as 4th dimension, function of x,y,z
- pandas bar plot combined with line plot shows the time axis beginning at 1970
- Named colors in matplotlib
- How to center labels in histogram plot
- Matplotlib just giving error messages