> You must set the desired backend from the very begining and before
> importing pylab o pyplot.
That did it - I made the change in my .matplotlibrc file and it no longer
crashes.
Thanks!
Oliver
--
Everyone hates slow w
Hi Ben,
> Are you displaying the plots in the thread, or are you just saving the plots
> directly? If you are saving them directly, then you can set your backend to
> be "Agg" and get rid of the Tkinter.Tk() call (and probably should get rid of
> the import as well). That way, matplotlib won'
Hi,
I have a library which uses matplotlib to produce some plots. This library is
called by a thread. However, python crashes with this error when it tries to
plot something:
Tk_MacOSXSetupTkNotifier: first [load] of TkAqua has to occur in the main
thread!
If I do as it says and call "window
Hi Steven,
I first look at what types of plots and axes are available out-of-the-box. The
gallery and examples sections of the matplotlib webpage are good places to get
ideas about what is possible when programming in this mode.
If there isn't an existing axis type which works, I take one of t
Incidentally, if anyone else wants to do this and is unable to update their
matplotlib to v1.2.0, this code snippet achieves the same effect.
###
import numpy as np
import matplotlib.pyplot as plt
from matplotlib.collections import LineCollection
# the line to
Hi Luke,
> I been able to use the bitwise_and() and right_shift() on the data to
> get individual arrays which are populated with only 0's and1's.
>
> What I'm not clear on is now how to get the solid filled rectangle for
> areas where the bit is high and nothing when the bit is low.
>
> Is the
> What is your matplotlib.__version__ ? I think that code only made it's
> way into v1.2.0 (the latest stable), and was did not make it into
> v1.1.1 (or anything before it)
I'm running 1.1.0 - I'll upgrade it now. Thanks for the help!
Oliver
Hi,
I've been trying to plot a line with varying alpha (but constant color). After
much googling I have come up with the following code segment, which by all
indications should work. It works when I vary an individual RGB element, but
not when I vary alpha.
Hi,
I wanted to see the source code for an example on the Axis Artist page,
specifically this bit of source code:
http://matplotlib.sourceforge.net/mpl_toolkits/axes_grid/figures/axis_direction_demo_step04.py
Unfortunately, I got a 404 not found error. Please would whoever is in charge
of this