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] <Error>:
CGContextSetLineDash: invalid
dash array: negative lengths are not allowed.
--Michiel.
···
--- On Thu, 7/2/09, keflavich <keflavich@...287...> wrote:
From: keflavich <keflavich@...287...>
Subject: Re: [Matplotlib-users] ipython threading fails with macosx backend
To: matplotlib-users@lists.sourceforge.net
Date: Thursday, July 2, 2009, 4:54 PM
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] <Error>:
CGContextSetLineDash: invalid
dash array: negative lengths are not allowed.
I can't draw dashed lines.
Adam
--
View this message in context: http://www.nabble.com/ipython-threading-fails-with-macosx-backend-tp24311071p24313852.html
Sent from the matplotlib - users mailing list archive at
Nabble.com.
------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
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.
%quickref -> Quick reference.
help -> Python's own help system.
object? -> Details about 'object'. ?object also works, ?? prints more.
In [1]: from pylab import *
matplotlib data path
/Library/Frameworks/Python.framework/Versions/Current/lib/python2.6/site-packages/matplotlib/mpl-data
loaded rc file /Users/adam/.matplotlib/matplotlibrc
matplotlib version 0.98.5.3
verbose.level helpful
interactive is True
units is True
platform is darwin
$HOME=/Users/adam
CONFIGDIR=/Users/adam/.matplotlib
Using fontManager instance from /Users/adam/.matplotlib/fontList.cache
backend MacOSX version unknown
In [2]: plot([0,1],'--')
Out[2]: [<matplotlib.lines.Line2D object at 0x102a58490>]
In [3]: Thu Jul 2 20:46:44 eta.colorado.edu Python-64[33793] <Error>:
CGContextSetLineDash: invalid dash array: negative lengths are not
allowed.
···
On Thu, Jul 2, 2009 at 8:44 PM, Michiel de Hoon<mjldehoon@...9...> wrote:
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] <Error>:
CGContextSetLineDash: invalid
dash array: negative lengths are not allowed.
--Michiel.
--- On Thu, 7/2/09, keflavich <keflavich@...287...> wrote:
From: keflavich <keflavich@...287...>
Subject: Re: [Matplotlib-users] ipython threading fails with macosx backend
To: matplotlib-users@lists.sourceforge.net
Date: Thursday, July 2, 2009, 4:54 PM
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] <Error>:
CGContextSetLineDash: invalid
dash array: negative lengths are not allowed.
I can't draw dashed lines.
Adam
--
View this message in context: http://www.nabble.com/ipython-threading-fails-with-macosx-backend-tp24311071p24313852.html
Sent from the matplotlib - users mailing list archive at
Nabble.com.
------------------------------------------------------------------------------
_______________________________________________
Matplotlib-users mailing list
Matplotlib-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-users