You can type
import pylab
pylab.show()
or better, use ipython -pylab
.
Since the use of pylab
is not recommended anymore, the solution would nowadays be
import matplotlib.pyplot as plt
plt.plot([1,2,3])
plt.show()
More Related Contents:
- Python: Unable to Render Tex in Matplotlib
- How to plot in multiple subplots
- setting y-axis limit in matplotlib
- surface plots in matplotlib
- Pandas Dataframe line plot display date on xaxis
- How to plot and annotate a grouped bar chart
- Python Matplotlib figure title overlaps axes label when using twiny
- Managing dynamic plotting in matplotlib Animation module
- How to make a 4d plot using Python with matplotlib
- How to plot and annotate grouped bars in seaborn / matplotlib
- How to update-alternatives to Python 3 without breaking apt?
- Passing a matplotlib figure to HTML (flask)
- Pythonic way of detecting outliers in one dimensional observation data
- How to fix ‘numpy.ndarray’ object has no attribute ‘get_figure’ when plotting subplots
- How to zoomed a portion of image and insert in the same plot in matplotlib
- Bipartite graph in NetworkX
- Bar Chart with multiple labels
- How to set the matplotlib figure default size in ipython notebook?
- Pandas plot doesn’t show
- Matplotlib Legends not working
- Remove colorbar from figure
- Custom arrow style for matplotlib, pyplot.annotate
- Python package to plot two heatmaps in one (split each square into two triangles)
- How to create major and minor gridlines with different linestyles in Python
- ValueError: Unknown projection ‘3d’
- Plot inline or a separate window using Matplotlib in Spyder IDE
- import matplotlib.pyplot hangs
- ubuntu ImportError: cannot import name MAXREPEAT
- The ‘pip==7.1.0’ distribution was not found and is required by the application
- matplotlib taking time when being imported