Top "Matplotlib" questions

Matplotlib is a plotting library for Python which may be used interactively or embedded in stand-alone GUIs.

How to display the value of the bar on each bar with pyplot.barh()?

I generated a bar plot, how can I display the value of the bar on each bar? Current plot: What …

python matplotlib bar-chart
How to make inline plots in Jupyter Notebook larger?

I have made my plots inline on my Ipython Notebook with "%matplotlib inline." Now, the plot appears. However, it is …

python matplotlib ipython jupyter-notebook
vertical & horizontal lines in matplotlib

I do not quite understand why I am unable to create horizontal and vertical lines at specified limits. I would …

matplotlib
Bin size in Matplotlib (Histogram)

I'm using matplotlib to make a histogram. Is there any way to manually set the size of the bins as …

python matplotlib histogram
matplotlib does not show my drawings although I call pyplot.show()

Help required on matplotlib. Yes, I did not forget calling the pyplot.show(). $ ipython --pylab import matplotlib.pyplot as p …

python matplotlib tech-chat-ml
Matplotlib connect scatterplot points with line - Python

I have two lists, dates and values. I want to plot them using matplotlib. The following creates a scatter plot …

python matplotlib
How to make several plots on a single page using matplotlib?

I have written code that opens 16 figures at once. Currently they all open as separate graphs. I'd like them to …

python matplotlib
RuntimeWarning: invalid value encountered in divide

I have to make a program using Euler's method for the "ball in a spring" model from pylab import* from …

python python-2.7 matplotlib
_tkinter.TclError: no display name and no $DISPLAY environment variable

I am running a simple python script in the server: import matplotlib.pyplot as plt import numpy as np x = …

python matplotlib tkinter
Plot a horizontal line using matplotlib

I have used spline interpolation to smooth a time series and would also like to add a horizontal line to …

python matplotlib