Top "Matplotlib" questions

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

How to change legend size with matplotlib.pyplot

Simple question here: I'm trying to get the size of my legend using matplotlib.pyplot to be smaller (i.e., …

python size matplotlib legend
Matplotlib plots: removing axis, legends and white spaces

I'm new to Python and Matplotlib, I would like to simply apply colormap to an image and write the resulting …

python matplotlib
Purpose of "%matplotlib inline"

Could someone explain to me what exactly is the use of %matplotlib inline?

python matplotlib jupyter-notebook ipython
Rotate axis text in python matplotlib

I can't figure out how to rotate the text on the X Axis. Its a time stamp, so as the …

python matplotlib
Hiding axis text in matplotlib plots

I'm trying to plot a figure without tickmarks or numbers on either of the axes (I use axes in the …

python matplotlib plot
Plot correlation matrix using pandas

I have a data set with huge number of features, so analysing the correlation matrix has become very difficult. I …

python pandas matplotlib data-visualization information-visualization
How do I draw a grid onto a plot in Python?

I just finished writing code to make a plot using pylab in Python and now I would like to superimpose …

python matplotlib
How to plot multiple functions on the same figure, in Matplotlib?

How can I plot the following 3 functions (i.e. sin, cos and the addition), on the domain t, in the …

python function matplotlib graph
Modify tick label text

I want to make some modifications to a few selected tick labels in a plot. For example, if I do: …

python matplotlib
How to draw vertical lines on a given plot in matplotlib

Given a plot of signal in time representation, how to draw lines marking corresponding time index? Specifically, given a signal …

python matplotlib