Trying to plot anything with any dashed pattern causes the error:
Python 2.6.2 (r262:71600, Jun 20 2009, 12:18:19)
Type "copyright", "credits" or "license" for more information.
IPython 0.9.1 -- An enhanced Interactive Python.
? -> Introduction and overview of IPython's features.
%quickre
> I can't draw dashed lines.
In principle, you should be able to draw dashed lines with the MacOSX backend.
Can you post a complete script that triggers this error?
> Thu Jul 2 14:51:48 Python-64[56094] :
> CGContextSetLineDash: invalid
> dash array: negative lengths are not allowed.
--Michie
Massimo Di Stefano wrote:
> Hi All,
>
>
> i'm starting to learn matplotlib,
> for my study i need to parse the nmea sentence from a gps
> and plot a "sky graphic" to plot satellite visibility.
>
> (i tried to write code from scratch ... it works but my teacher
> suggest me to not reinvent the we
Oh, and I'm using the Agg backend, I think, whatever is the default.
On Thu, Jul 2, 2009 at 7:19 PM, Rick Muller wrote:
> JJ
>
> Thanks for the tips. I had seen one of those posts whilst googling around
> for the bug, but discounted it because I'm not using an alpha value.
>
> Here are links to
JJ
Thanks for the tips. I had seen one of those posts whilst googling around
for the bug, but discounted it because I'm not using an alpha value.
Here are links to one of the cookbook examples, and one of the files that I
want to plot:
http://files.getdropbox.com/u/533499/griddata-test.png
http:/
Hi All,
i'm starting to learn matplotlib,
for my study i need to parse the nmea sentence from a gps
and plot a "sky graphic" to plot satellite visibility.
(i tried to write code from scratch ... it works but my teacher
suggest me to not reinvent the well, so, to have a good nema parser, i
i
sorry, i replied to Mike and not to the list. see below.
On Thu, Jul 2, 2009 at 2:57 PM, Ralf Gommers wrote:
> Thanks for looking into this Mike.
>
> On Thu, Jul 2, 2009 at 10:39 AM, Michael Droettboom wrote:
>
>> It is not surprising that memory usage is much lower without printing the
>> plot.
Is this an ideas thread?
How about a "copy image to clipboard" button for the toolbar.
Gary R.
Pierre GM wrote:
> Eh, can I play ?
> * Something I'd really like to see is a way to access a given patch/
> line/collection/... by a string (a name) instead of having to find the
> corresponding ele
The dropbox link is broken (you need a public url).
What version of mpl and what backend are you using?
There was a similar problem which has now been fixed.
Try the work-around described in the thread below, and see if works.
http://www.nabble.com/problems-with-contourf---alpha-td22553269.html
When I do contourf plots in matplotlib, I get lines connecting the contour
levels. This doesn't only appear to be an artifact of my plotting
algorithms, it appears in this example from the matplotlib cookbook:
http://www.scipy.org/Cookbook/Matplotlib/Gridding_irregularly_spaced_data
at least on m
OK, thanks. I don't really know why it's failing, but I'm going to continue
trying to get other backends installed to test them.
I also now have independent reasons not to use the MacOSX backend:
Thu Jul 2 14:51:48 Python-64[56094] : CGContextSetLineDash: invalid
dash array: negative lengths
Hi,
For a contour plot I use the option 'manual=True' in clabel
to set the location of the labels manually.
Before the plotting command I set some figure properties using
rcParams as explained on this site:
http://www.scipy.org/Cookbook/Matplotlib/LaTeX_Examples
My Problem is, that the manual-o
Hello,
i'm new to the list.
i'm using matplotlib via the networkx graph package.
I wonder if there is a way i could draw a graph in a Tkinter canvas widget
of my application.
I.e. my Python application creates the Tkinter canvas and somehow passes it
as an
argument to a matplotlib draw function.
On Thu, Jul 2, 2009 at 1:00 PM, Pierre GM wrote:
> Eh, can I play ?
> * Something I'd really like to see is a way to access a given patch/
> line/collection/... by a string (a name) instead of having to find the
> corresponding element in a list. That would mean converting lists into
> dictionaries
As I understand it the Mac backend uses the PyOS_ImputHook trick, which
means that no custom threading code is needed in IPython. Thus it should
"just work" without any threading flags in both IPython *and* regular
python. Just as an aside, wx is the only GUI toolkit that doesn't support
this "ne
On my system, this example appears to be working just fine. I even bumped
the number of data points from 1000 to 10,000. I'm on OS X 10.5.7 with:
matplotlib 0.98.5.2
PyQt 4.5.1 (GPL)
Qt 4.5 (LGPL)
Maybe try updating your PyQt installation?
BZ
On Thu, Jul 2, 2009 at 6:46 AM, Ole Streicher wrot
Eh, can I play ?
* Something I'd really like to see is a way to access a given patch/
line/collection/... by a string (a name) instead of having to find the
corresponding element in a list. That would mean converting lists into
dictionaries, or at least provide a way to map the list to a dicti
On Thu, Jul 2, 2009 at 9:46 AM, Ole Streicher wrote:
> Hello Darren,
>
> Darren Dale writes:
> > I can't produce a segfault with the attached script. I have Qt-4.5.2,
> > PyQt-4.5.1, and a checkout of the matplotlib trunk.
>
> OK, in this context it seems to work.
>
> I attach a script that shows
The Mac OS backend is fairly new, and I don't believe any of the
backend-specific threading code that ipython requires has been
implemented for the OS-X backend. Just wanted to drop a note to say
"it's probably not you". But as a non-Mac user, I may be wrong, and I
hope to be corrected :)
Mi
Hi, I'm using ipython 0.9.1 with the svn version of matplotlib on 64 bit
python on mac os x 10.5.7.
I have only been able to get python-64 running with the MacOSX backend; all
of the others (wxpython, gtk, qt, tk) have failed for one reason or another.
I've tried ipython without any flags and
Yep, the same library (physical, on our network) fails depending only
the computer, thus on its own internal libraries called by GEOS.
By the way, I tried basemap with geos 3.0.4, and saw the "simplify()"
method working. That's funny!
On Thu, Jul 2, 2009 at 2:08 PM, Jeff Whitaker wrote:
> Step
I can reproduce the error with the svn version.
It seems that the problem is not SubplotHost specific, i.e., you have
same problem if you use mpl's original axes with twinx.
I think it has something to do with the axes sharing in general.
Preventing autoscale of xaxis suppress the error.
host.set
Hello Darren,
Darren Dale writes:
> I can't produce a segfault with the attached script. I have Qt-4.5.2,
> PyQt-4.5.1, and a checkout of the matplotlib trunk.
OK, in this context it seems to work.
I attach a script that shows the problem.
Run it, move the second diagram below the first, adjus
Hello Darren,
Darren Dale writes:
> I can't produce a segfault with the attached script. I have Qt-4.5.2,
> PyQt-4.5.1, and a checkout of the matplotlib trunk.
OK, in this context it seems to work.
I attach a script that shows the problem.
Run it, move the second diagram below the first, adjus
On Thu, Jul 2, 2009 at 3:06 AM, Ole Streicher wrote:
> Hi Brian,
>
> I have also some layout problems with the Qt4 backend. The worst one is
> a SegFault when adjusting the width.
>
> Brian Zambrano writes:
> > vbox = QVBoxLayout()
> > vbox.addWidget(self.canvas)
> > self.setLayout(vbox)
>
> Coul
Stephane Raynaud wrote:
> Hi (Jeff),
>
>
> I recently performed updates to matplotlib and basemap.
> >From this time, I have a random and reccurent error when I create a
> Basemap instance.
> Here is one example :
>
>
from mpl_toolkits.basemap import Basemap
Basemap(**{'lon_0': -4.5250
Hi matplotlib_users !
I'm David from Berlin, and believe I'm experiencing some problem with the
SubplotHost module:
I'm generating graphs from hudge databases of cpu and ethernet statistics,
and I wanted to mix several graphs concerning ethernet statistics in the
same figure,
with time as x axis,
Hi (Jeff),
I recently performed updates to matplotlib and basemap.
>From this time, I have a random and reccurent error when I create a
Basemap instance.
Here is one example :
>>> from mpl_toolkits.basemap import Basemap
>>> Basemap(**{'lon_0': -4.5250263598141309, 'urcrnrlat': 49.14015423167841
Hi Brian,
I have also some layout problems with the Qt4 backend. The worst one is
a SegFault when adjusting the width.
Brian Zambrano writes:
> vbox = QVBoxLayout()
> vbox.addWidget(self.canvas)
> self.setLayout(vbox)
Could you just try to add a second canvas to the layout?
vbox = QVBoxLayout(
29 matches
Mail list logo