Top "Matplotlib" questions

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

Generate a heatmap in MatPlotLib using a scatter data set

I have a set of X,Y data points (about 10k) that are easy to plot as a scatter plot …

python matplotlib heatmap histogram2d
Change grid interval and specify tick labels in Matplotlib

I am trying to plot counts in gridded plots, but I am not being able to figure out how I …

python matplotlib plot grid label
Save the plots into a PDF

plotting module def plotGraph(X,Y): fignum = random.randint(0,sys.maxint) plt.figure(fignum) ### Plotting arrangements ### return fignum main module …

python matplotlib
Saving images in Python at a very high quality

How can I save Python plots at very high quality? That is, when I keep zooming in on the object …

python graphics matplotlib save
Dynamically updating plot in matplotlib

I am making an application in Python which collects data from a serial port and plots a graph of the …

python matplotlib tkinter
Setting Different Bar color in matplotlib Python

Supposely, I have the bar chart as below: Any ideas on how to set different colors for each carrier? As …

python matplotlib pandas bar-chart
Plot smooth line with PyPlot

I've got the following simple script that plots a graph: import matplotlib.pyplot as plt import numpy as np T = …

python matplotlib plot smoothing
Matplotlib scatter plot legend

I created a 4D scatter plot graph to represent different temperatures in a specific area. When I create the legend, …

python matplotlib legend scatter-plot
Adding value labels on a matplotlib bar chart

I got stuck on something that feels like should be relatively easy. The code I bring below is a sample …

python python-2.7 pandas matplotlib data-visualization
Adding a y-axis label to secondary y-axis in matplotlib

I can add a y label to the left y-axis using plt.ylabel, but how can I add it to …

python matplotlib