SourceForge logo
SourceForge logo
Menu

matplotlib-users — Discussion related to using matplotlib

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
(3)
Jun
Jul
Aug
(12)
Sep
(12)
Oct
(56)
Nov
(65)
Dec
(37)
2004 Jan
(59)
Feb
(78)
Mar
(153)
Apr
(205)
May
(184)
Jun
(123)
Jul
(171)
Aug
(156)
Sep
(190)
Oct
(120)
Nov
(154)
Dec
(223)
2005 Jan
(184)
Feb
(267)
Mar
(214)
Apr
(286)
May
(320)
Jun
(299)
Jul
(348)
Aug
(283)
Sep
(355)
Oct
(293)
Nov
(232)
Dec
(203)
2006 Jan
(352)
Feb
(358)
Mar
(403)
Apr
(313)
May
(165)
Jun
(281)
Jul
(316)
Aug
(228)
Sep
(279)
Oct
(243)
Nov
(315)
Dec
(345)
2007 Jan
(260)
Feb
(323)
Mar
(340)
Apr
(319)
May
(290)
Jun
(296)
Jul
(221)
Aug
(292)
Sep
(242)
Oct
(248)
Nov
(242)
Dec
(332)
2008 Jan
(312)
Feb
(359)
Mar
(454)
Apr
(287)
May
(340)
Jun
(450)
Jul
(403)
Aug
(324)
Sep
(349)
Oct
(385)
Nov
(363)
Dec
(437)
2009 Jan
(500)
Feb
(301)
Mar
(409)
Apr
(486)
May
(545)
Jun
(391)
Jul
(518)
Aug
(497)
Sep
(492)
Oct
(429)
Nov
(357)
Dec
(310)
2010 Jan
(371)
Feb
(657)
Mar
(519)
Apr
(432)
May
(312)
Jun
(416)
Jul
(477)
Aug
(386)
Sep
(419)
Oct
(435)
Nov
(320)
Dec
(202)
2011 Jan
(321)
Feb
(413)
Mar
(299)
Apr
(215)
May
(284)
Jun
(203)
Jul
(207)
Aug
(314)
Sep
(321)
Oct
(259)
Nov
(347)
Dec
(209)
2012 Jan
(322)
Feb
(414)
Mar
(377)
Apr
(179)
May
(173)
Jun
(234)
Jul
(295)
Aug
(239)
Sep
(276)
Oct
(355)
Nov
(144)
Dec
(108)
2013 Jan
(170)
Feb
(89)
Mar
(204)
Apr
(133)
May
(142)
Jun
(89)
Jul
(160)
Aug
(180)
Sep
(69)
Oct
(136)
Nov
(83)
Dec
(32)
2014 Jan
(71)
Feb
(90)
Mar
(161)
Apr
(117)
May
(78)
Jun
(94)
Jul
(60)
Aug
(83)
Sep
(102)
Oct
(132)
Nov
(154)
Dec
(96)
2015 Jan
(45)
Feb
(138)
Mar
(176)
Apr
(132)
May
(119)
Jun
(124)
Jul
(77)
Aug
(31)
Sep
(34)
Oct
(22)
Nov
(23)
Dec
(9)
2016 Jan
(26)
Feb
(17)
Mar
(10)
Apr
(8)
May
(4)
Jun
(8)
Jul
(6)
Aug
(5)
Sep
(9)
Oct
(4)
Nov
Dec
2017 Jan
(5)
Feb
(7)
Mar
(1)
Apr
(5)
May
Jun
(3)
Jul
(6)
Aug
(1)
Sep
Oct
(2)
Nov
(1)
Dec
2018 Jan
Feb
Mar
Apr
(1)
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2020 Jan
Feb
Mar
Apr
May
(1)
Jun
Jul
Aug
Sep
Oct
Nov
Dec
2025 Jan
(1)
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
S M T W T F S





1
(20)
2
(8)
3
(2)
4
(7)
5
(17)
6
(20)
7
(17)
8
(18)
9
(7)
10
(4)
11
(9)
12
(20)
13
(20)
14
(17)
15
(8)
16
(2)
17
(4)
18
(4)
19
(13)
20
(4)
21
(16)
22
(9)
23
(1)
24
(5)
25
(8)
26
(13)
27
(25)
28
(25)
29
(14)
30
(10)
31
(1)






Showing 4 results of 4

From: John H. <jdh...@ac...> - 2005年07月10日 13:50:36
>>>>> "Ryan" == Ryan Krauss <rya...@co...> writes:
 Ryan> I just updated to 0.83 and I am now having a problem with
 Ryan> Ipython. Running the following code as a script produces
 Ryan> the error message below. I am running Python 2.3.5 on
 Ryan> Windows XP with Ipython 0.6.15. I get the same message
 Ryan> regardless of whether or not I set ion().
 Ryan> How do I fix this?
Update from matplotlib CVS -- this bug was reported on Friday in the
thread "ipython and matplotlib-0.83" and will be included in a bug-fix
release next week.
http://sourceforge.net/mailarchive/message.php?msg_id=12305161
JDH
From: John H. <jdh...@ac...> - 2005年07月10日 13:47:31
>>>>> "Donour" == Donour Sizemore <do...@uc...> writes:
 Donour> I'm having pretty serious performance problems using the
 Donour> wxpython backend. On linux, it takes about 1-2 seconds to
 Donour> render a small window with 1000 data points. On my mac
 Donour> laptop, it takes about three times as long.
 Donour> I've verified that interactive mode is off, antialiasing
 Donour> is disabled, and the machine is otherwise idle. I'm using:
 Donour> matplotlib 0.82 wxwindows 2.6.0.0 numeric 23.8
 Donour> Profiling shows that all the time is being sucked into a
 Donour> couple of axis drawing functions by way of OnPaint.
 Donour> Any idea why it's so slow?
Can you post a complete script that is slow for you? If it is a
marker plot and you are using 'backend : WX', it is likely to be pretty
slow because of a problem with marker drawing that was fixed for the
*Agg backends.
Also, are you using wx or wxagg? The WXAgg backend is likely faster
and certainly will produce better output with more features.
After you come up with your test script, please run it with
--verbose-helpful and post the script and the output.
Thanks,
JDH
From: Donour S. <do...@uc...> - 2005年07月10日 05:59:08
I'm having pretty serious performance problems using the wxpython
backend. On linux, it takes about 1-2 seconds to render a small
window with 1000 data points. On my mac laptop, it takes about three
times as long.
I've verified that interactive mode is off, antialiasing is disabled,
and the machine is otherwise idle. I'm using:
matplotlib 0.82
wxwindows 2.6.0.0
numeric 23.8
Profiling shows that all the time is being sucked into a couple
of axis drawing functions by way of OnPaint.
Any idea why it's so slow?
thanks
donour
|Donour Sizemore do...@cs...|
|Technical Programmer & Numerical Analyst |
|Economics Research Center Ph: 773-834-4399 |
|University of Chicago Office: Walker 303-a |
From: Gary R. <gr...@bi...> - 2005年07月10日 01:51:22
Hi John,
thanks for the help pointing to the area to look at.
I've made some progress on this. Just replying here rather than the dev 
list to keep this thread together.
On Win98, running "dvipng --version" returms
DVIPNG.EXE (dvipng) 1.1
kpathsea version 3.3.2
Copyright (C) 2002-2004 Jan-+ke Larsson.
There is NO warranty. You may redistribute this software
under the terms of the GNU General Public License.
For more information about these matters, see the files
named COPYING and dvipng.c.
On Win2k it is lower case, like in linux.
The other problem is that Windows doesn't know about ' characters in 
command-line commands, so when calling latex and dvipng I changed "''" 
sequences to '""' to keep windows happy. I can't remember whether linux 
is happy with this, but I'm sure you'll know. You may have to treat the 
two OSes differently.
After making these changes it works in Win2k. Curiously there's 
something nasty going on in Win98 still where it gets partway through 
the tex demo and freezes saying there are system resource problems. I 
suspect this is to do with pipes not being flushed, but I'm unlikely to 
have time to look at this for a few weeks (I've got a 6 hour quantum 
field theory exam coming up - eek).
It would be worth incorporating the changes because it should get most 
Windows users going with TeX. Note also that I'm using the MiKTeX 
distribution, although I would expect other TeX distros to be fine.
In summary, to get TeX working under Win2k I made the following changes:
Changed line:
 if line.startswith('dvipng '):
to
 if line.lower().startswith('dvipng'):
Changed line:
 command = "latex -interaction=nonstopmode '%s'"%fname
to
 command = 'latex -interaction=nonstopmode "%s"'%fname
Changed line:
 command = "dvipng -bg Transparent -fg 'rgb 0.0 0.0 0.0' -D %d 
-T tight -o %s %s"% (dpi, pngfile, dvifile)
to
 command = 'dvipng -bg Transparent -fg "rgb 0.0 0.0 0.0" -D %d 
-T tight -o %s %s'% (dpi, pngfile, dvifile)
regards,
Gary
John Hunter wrote:
>>>>>>"Gary" == Gary Ruben writes:
> 
> 
> Gary> I'm still getting a traceback with mpl0.83 when trying to
> Gary> run tex_demo.py under Windows (both Win98 and Win2k). Has
> Gary> anyone got this going under Windows? thanks, Gary R.

Showing 4 results of 4

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.
Thanks for helping keep SourceForge clean.
X





Briefly describe the problem (required):
Upload screenshot of ad (required):
Select a file, or drag & drop file here.
Screenshot instructions:

Click URL instructions:
Right-click on the ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)

More information about our ad policies

Ad destination/click URL:

AltStyle によって変換されたページ (->オリジナル) /