On Nov 15, 2007 7:47 AM, Christian Meesters <[EMAIL PROTECTED]> wrote:
> Hi,
>
> Sorry, if this has been brought up before, but I missed a while reading
> the list.
>
> When I updated my system lately, I also installed the current version of
> mpl (0.90.1) and that gave me a DeprecationWarning that I should use
> LineCollection now to get my horizontal lines. Well, I didn't figure out
> how to do that until now.
I think you misread the warning on hlines. You can still use hlines,
just don't pass the "fmt" keyword argument. Instead, use the keyword
arguments of the LineCollection, eg,
colors = None,
antialiaseds = None,
linestyle = 'solid',
offsets = None,
transOffset = None,#transforms.identity_transform(),
norm = None,
cmap = None,
pickradius = 5,
> TypeError: CXX : Error creating object of type
> N2Py7SeqBaseINS_6ObjectEEE
This error typically arises when the CXX extension code is expecting a
sequence but getting something different. I can't reproduce it here,
but I am running mpl svn and not 0.90.1. Are you installing from src
or a binary package. In any case, make sure you have a clean install
(remove site-packages/matplotlib and if building from src your "build"
subdirectory before reinstalling).
Can another 0.90.1 user confirm that this is a problem on that version?
JDH
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Matplotlib-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-users