I got a problem with my Axes3D plotter, every time I put somethign in I get TypeError: unbound method scatter() must be called with Axes3D instance as first argument (got list instance instead)
And I ...

I'm trying to plot an errorbar graph where each error bar may be either, say, red or green depending on whether the statistics used to compute the bar are significant.
I tried using an array of colors ...

I have a data set I wish to plot as scatter plot with matplotlib, and a vector the same size that categorizes and labels the data points (discretely, e.g. from 0 to 3). I want to use different markers ...

I encountered a rather strange behavior of legend and the errorbar plot commands. I am using Python xy 2.7.3.1 with matplotlib 1.1.1
The code below examplifies the observed behavior:
import pylab as ...

I need to generate figures that fit into a particular width and use a particular font size, preferably without post-processing the pdf file.
On my system, the default GUI backend is 'TkAgg' and the ...

I would like to show a pseudocolor image (such as produced by pcolor, pcolormesh or imshow) overlayed with contourlines. It appears that those three plot functions can be one data point off. Here's an ...

I am writing a script to generate a number of plots from data, each plot first being saved with plt.savefig(), then shown by plt.show().
In the first phase I want all plots to be shown and the script ...

I use a bar graph to indicate the data of each group. Some of these bars differ significantly from each other. How can I indicate the significant difference in the bar plot?
import numpy as np
import ...

I have several 3d functions. I would like two plot the contour plots of them in the same figure to see the difference between them. I expect to see some crossings between contours of two functions. ...

I'd like to cycle through three colors for six curves that I am plotting. The first three curves will differ from the second three curves by thickness. However I want curve 1 and curve 4 to have the ...

I'm using FuncAnimation in matplotlib's animation module for some basic animation. This function perpetually loops through the animation. Is there a way by which I can pause and restart the animation ...

I am new to python , so help me to overcome this problem.
I have plotted a 3D graph using some random points.
After plotting i got a graph
But to get the desired graph , i need to reverse the Y axis.
...

I'm trying to make an animation with matplotlib, using the examples from here. At first the problem was ffmpeg wasn't installed, so I installed that from macports - but not it's saying that 'rgba' is ...

Matplotlib has a feature where if you hold down the "x" or "y" keys it constrains panning or zooming to the corresponding axis.
Is there a way to cause this to be the default? For some reason my CPU ...

How can I set a default set of colors for plots made with matplotlib? I can set a particular color map like this
fig=figure(i)
ax=gca()
ax.set_color_cycle([colormap(k) for k in linspace(0, 1, 10)])
...

I would like create a pseudocolor plot (e.g. contour or contourf) and a colorbar. For practical reason, I want the range of the colorbar different from the underlying mappable.
In the example below, ...

If I save a figure with matplotlib, sometimes some of the characters, like endash, ű énd ő, are in a lower position than the others. Not just in the legend, but in labels and title as well. I tried it ...

i have to plot eeg data of 3 different channels in my graph. I would like to plot of all of them in one figure seperated by horozintal lines. X axis common to all the channels.
I can do this easily ...

I'm trying to get a spectogram plot of a pure sine function. Together with that i want to show a plot of the fft of that whole signal. I'm expecting the peaks to be on the same frequency since were ...

I am trying to install matplotlib on a MacBook Pro 10.8.3. All my scientific packages (python, qgis, and numerous others) are installed with Homebrew. pip install matplotlib fails with the following ...

Hopefully a simple fix.. I have a colorbar plotted to the right of my image. Doing so shrinks my scatter plot to the left; however, I would like to keep the scatter as close to 1:1 as possible as the ...