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



Showing 12 results of 12

From: Alan G I. <ai...@am...> - 2007年01月25日 20:31:14
On 2007年1月24日, Fernando Perez apparently wrote: 
> Let us know if this is not enough or if you have any other issues. 
How about for Windows users? You list as dependencies:
# PyWin32 from http://starship.python.net/crew/mhammond
 But that link is broken. Can we just use 
 pywin32-210.win32-py2.5.exe from 
 http://sourceforge.net/projects/pywin32/ ?
# CTypes from http://starship.python.net/crew/theller/ctypes 
 But that should not apply to Python 2.5+, right?
# PyReadline for Windows from 
http://projects.scipy.org/ipython/ipython/wiki/PyReadline/Intro
 But the correct link now seems to be
 http://ipython.scipy.org/moin/PyReadline/Intro
 and the binary installer instructions there are Python 
 2.4 specific. (I assume they translate directly to 2.5.)
So I installed PyWin32 as above, and PyReadline. I do NOT 
see IPython in my Start Menu nor when I look at 
Install/Uninstall programs. I do see an IPython folder in 
Lib/site-packages, so I guessed I should call Shell.py, but 
this is either a bad guess or IPython is failing: I briefly
see a shell labelled IPython flash on screen and disappear.
Thank you,
Alan Isaac
PS I did copy pyreadlineconfig.ini from pyreadline-egg/pyreadline/config to 
my homedir.
From: Lou P. <lou...@ya...> - 2007年01月25日 19:55:00
I found an example script I got to work for WX. I
guessed that the ws.app had to be deleted to plot
again. Here it is (the part that runs the code and
creates the WX.app:
if __name__ == '__main__':
 app = wx.PySimpleApp(0)
 frame = PlotFigure()
 frame.plot_data()
 frame.Show()
 app.MainLoop()
 #must delete app before reusing for wxPython
 del app # <<---- THE CRUCIAL STEP
 print "done with plot 1"
 
 app = wx.PySimpleApp(0)
 frame = PlotFigure()
 frame.plot_data()
 frame.Show()
 app.MainLoop()
 print "done with plot 2"
Without the delete you get a crash/hang.
 
-- Lou Pecora
 My views are my own.
 
____________________________________________________________________________________
We won't tell. Get more on shows you hate to love 
(and love to hate): Yahoo! TV's Guilty Pleasures list.
http://tv.yahoo.com/collections/265 
From: Christopher B. <Chr...@no...> - 2007年01月25日 19:32:29
Jan Winter wrote:
> hi,
> 
> I use python 2.4, matplotlib and WXpython on OS X.
> 
> I plot and show something and every thing works fine (the plot is 
> shown in the python.app).
> I close the plot window.
> I plot another thing.
> It is shown again with python.app, but now python.app crashes...
I'm not sure pylab supports this use. I think once you close the plot 
window, you have shut down the wx.App, then when you plot again, it 
tries to create it again, but you can't start and stop wx.Apps over 
again in the same process.
I think you can do what you want by using ipython, so that you don't 
have to close the figure window to get your prompt back.
-Chris
-- 
Christopher Barker, Ph.D.
Oceanographer
Emergency Response Division
NOAA/NOS/OR&R (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
Chr...@no...
From: Lou P. <lou...@ya...> - 2007年01月25日 19:27:18
Are you running the script again or plotting a second
time in the same script? You might need to set
matplotlib to plot interactively. See the
documentaion about interactive plotting. You need to
set the back end graphics to the right kind for
interactive plotting.
E.g. in .matplotlibrc
backend : TKAgg # should work for
interactive
interactive : True # see
http://matplotlib.sourceforge.net/interactive.html
-- Lou Pecora
 My views are my own.
 
____________________________________________________________________________________
8:00? 8:25? 8:40? Find a flick in no time 
with the Yahoo! Search movie showtime shortcut.
http://tools.search.yahoo.com/shortcuts/#news
From: Ken M. <mc...@ii...> - 2007年01月25日 19:14:09
Jan,
What versions of wxPython and matplotlib are you using?
Ken
From: Darren D. <dd...@co...> - 2007年01月25日 19:08:42
On Tuesday 23 January 2007 20:09, bernski wrote:
> I am getting a dvipng version error when I run:
>
> import Numeric,matplotlib
> matplotlib.use('Agg')
> from matplotlib import rc
> rc('text', usetex=True)
> import pylab
>
> pylab.figure(num=1,figsize=(6,4))
> pylab.plot(Numeric.arange(10), Numeric.arange(10)**2)
> pylab.axis( (0,9,0,81) )
> pylab.xlabel(r'$width$')
> pylab.ylabel(r'$Height (km)$')
>
> filename='c:/test.png'
> pylab.savefig(filename,dpi=100)
> pylab.clf()
>
> here is a bit of the error message:
>
> File "C:\Python24\Lib\site-packages\matplotlib\texmanager.py", line 58, in
> get_dvipng_version
> raise RuntimeError('Could not obtain dvipng version')
> RuntimeError: Could not obtain dvipng version
>
> I have winXP, python2.4, matplotlib0.87, miktex2.5. I downloaded
> dvipng1.9 from sourceforge, but have no idea what to do with it. do i need
> a 'c' compiler to install it?
See http://www.scipy.org/Cookbook/Matplotlib/UsingTex for information about 
package requirements and configuration. If you can't get dvipng through 
MikTeX, and the sourceforge page doesnt distribute a windows executable, then 
you will have to compile it.
Darren
From: John H. <jdh...@ac...> - 2007年01月25日 14:24:02
>>>>> "Samuel" == Samuel M Smith <sm...@sa...> writes:
 Samuel> I have the same problem
Did you notice my response then? 
 John> This is a bug -- thanks for reporting it. I just committed
 John> changes to svn to fix it.
Ie, it is a bug that is fixed and you must use the svn version of
matplotlib .....
JDH
From: Derek H. <DH...@cs...> - 2007年01月25日 07:09:56
I'd be happy to be shown wrong, but it seems the current
incarnation of boxplot cannot do this. 
 
The current syntax is:
 
boxplot(x, notch=0, sym='+', vert=1, whis=1.5,
 positions=None, widths=None)
 
What it *could* have to support what is needed is
an extra parameter:
boxplot(x, notch=0, sym='+', vert=1, whis=1.5,
 positions=None, widths=None, percentile=False)
When percentile=True, then the program would treat 
the value of whis as a percentile value (0.001 to 100) and
plot the whiskers and outliers accordingly.
For reference, please see:
http://en.wikipedia.org/wiki/Box-and-whisker_plot 
and the section that says:
"There are alternative implementations of this detail of the 
box plot in various software packages, such as the whiskers 
extending to at most the 5th and 95th (or some more extreme) 
percentiles"
and for examples of such an implementation:
http://www.originlab.com/index.aspx?s=8&lm=214&pid=959
or
http://ploticus.sourceforge.net/doc/rangebar.html 
(see the option called "tailmode" which allows switching
between 5th and 95th percentile, min and max, or 1.5 x IQR.)
Thanks
Derek
>>> "Derek Hohls" <DH...@cs...> 2007年01月23日 03:29 PM >>>
I would like to have the extreme end of the upper whisker
on the box plot co-incide with the 98% of the data.
According to the documents:
whis (default 1.5) defines the length of the whiskers as 
a function of the inner quartile range. They extend to the 
most extreme data point within ( whis*(75%-25%) ) data range.
So, in theory, a value of whis=1.9 should be what is needed
but this seems to produce a much lower point - what value 
do I need to use?
Thanks
Derek
-- 
This message is subject to the CSIR's copyright, terms and conditions and
e-mail legal notice. Views expressed herein do not necessarily represent the
views of the CSIR.
 
CSIR E-mail Legal Notice
http://mail.csir.co.za/CSIR_eMail_Legal_Notice.html 
 
CSIR Copyright, Terms and Conditions
http://mail.csir.co.za/CSIR_Copyright.html 
 
For electronic copies of the CSIR Copyright, Terms and Conditions and the CSIR
Legal Notice send a blank message with REQUEST LEGAL in the subject line to
Cal...@cs....
This message has been scanned for viruses and dangerous content by MailScanner, 
and is believed to be clean.
From: Fernando P. <fpe...@gm...> - 2007年01月25日 01:52:25
Hi Samuel,
On 1/24/07, Samuel M. Smith <sm...@sa...> wrote:
> I couldn't find an answer on the iPython web site, does anyone know
> if iPython works with
> python 2.5. I assume I have to rebuild from source on OS X with
> python 2.5 installed.
> I have installed python 2.5 but when I run iPython is runs python 2.4.
Yes, ipython runs fine on python 2.5, but only as of the most recent
release, version 0.7.3, which you can get here:
http://ipython.scipy.org/moin/Download
If you have several versions of Python installed and you want to make
sure that ipython starts with 2.5, then run the code posted there as:
tar -xvzf ipython-0.7.3.tar.gz
cd ipython-0.7.3
python2.5 setup.py build
sudo python2.5 setup.py install
Let us know if this is not enough or if you have any other issues.
Cheers,
f
From: Samuel M. S. <sm...@sa...> - 2007年01月25日 01:11:12
I couldn't find an answer on the iPython web site, does anyone know 
if iPython works with
python 2.5. I assume I have to rebuild from source on OS X with 
python 2.5 installed.
I have installed python 2.5 but when I run iPython is runs python 2.4.
**********************************************************************
Samuel M. Smith Ph.D.
2966 Fort Hill Road
Eagle Mountain, Utah 84005-4108
801-768-2768 voice
801-768-2769 fax
**********************************************************************
"The greatest source of failure and unhappiness in the world is
giving up what we want most for what we want at the moment"
**********************************************************************
Hi folks,
 
 reposting... has anyone a clue that might help in the right direction??
 
 was my question too hard or would it help better if I rephrased it ?
 
 thanks so much 
 
 maser
maser rati <mas...@ya...> wrote: Hi Folks,
 
 I was wondering how to set the Matplotlib classic Toolbar in order to display only existent data when the back/forward arrows are clicked (i.e, the pan feature) for a subplot that displays plotted data. 
 
 How to set the code in the matplotlib toolbar to only display the data from the file? ( clicking the left arrow when the left most point is at the start of the data file should result in freezing of the plot and a similar action when the right arrow is clicked when the right most point is at the end of the data file). 
 
 I'm not sure if my post was sufficiently as clear as spring water. Any suggestions would be greatly appreciated.
 
 Great forum, by the way.. 
 
 Thanks.
 -Maser
 
---------------------------------
Food fight? Enjoy some healthy debate
in the Yahoo! Answers Food & Drink Q&A.-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV_______________________________________________
Matplotlib-users mailing list
Mat...@li...
https://lists.sourceforge.net/lists/listinfo/matplotlib-users
 
---------------------------------
Access over 1 million songs - Yahoo! Music Unlimited.
From: Samuel M. S. <sm...@sa...> - 2007年01月25日 00:47:19
I have the same problem
On 09 Jan, 2007, at 15:55, John Hunter wrote:
>>>>>> "Marcel" == Marcel Oliver <m.o...@iu...> writes:
>
> Marcel> TypeError: set_ylim() got an unexpected keyword argument
> Marcel> 'xmin' WARNING: Failure executing file: <colonius.py>
>
> This is a bug -- thanks for reporting it. I just committed changes to
> svn to fix it.
>
> JDH
>
> ---------------------------------------------------------------------- 
> ---
> Take Surveys. Earn Cash. Influence the Future of IT
> Join SourceForge.net's Techsay panel and you'll get the chance to 
> share your
> opinions on IT & business topics through brief surveys - and earn cash
> http://www.techsay.com/default.php? 
> page=join.php&p=sourceforge&CID=DEVDEV
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
**********************************************************************
Samuel M. Smith Ph.D.
2966 Fort Hill Road
Eagle Mountain, Utah 84005-4108
801-768-2768 voice
801-768-2769 fax
**********************************************************************
"The greatest source of failure and unhappiness in the world is
giving up what we want most for what we want at the moment"
**********************************************************************

Showing 12 results of 12

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 によって変換されたページ (->オリジナル) /