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






Showing 5 results of 5

From: Eric F. <ef...@ha...> - 2012年09月22日 17:40:17
On 2012年09月22日 3:03 AM, reckoner wrote:
> Hi,
>
> I have a plot that includes arrows drawn by the quiver command. I would
> like to create animation using Func Animation, but I don't know how to
> update the quiver arrows. I can update everything else on the plot and
> animates fine.
>
> Does anybody know how to update the quiver arrows in an animation? I
> know the quiver arrows have a XY property, but changing that doesn't
> update the plot.
You cannot update the arrow positions without making a new Quiver 
instance, so to animate with varying positions, you will need to delete 
the previous Quiver instance and make a new one for each frame.
Eric
>
> Thanks!
From: Jae-Joon L. <lee...@gm...> - 2012年09月22日 14:58:21
Attachments: image_in_axes.py
I recommend you to use OffsetImage. Here is an example of how one can
use OffsetImage.
http://matplotlib.org/examples/pylab_examples/demo_annotation_box.html
And attached is the modified version of the original script.
Regards,
-JJ
From: reckoner <rec...@gm...> - 2012年09月22日 13:03:20
Hi,
I have a plot that includes arrows drawn by the quiver command. I would 
like to create animation using Func Animation, but I don't know how to 
update the quiver arrows. I can update everything else on the plot and 
animates fine.
Does anybody know how to update the quiver arrows in an animation? I 
know the quiver arrows have a XY property, but changing that doesn't 
update the plot.
Thanks!
From: Ranjit C. <ra...@ge...> - 2012年09月22日 01:04:26
Here's the uname -a output:
Darwin Pico.local 12.0.0 Darwin Kernel Version 12.0.0: Sun Jun 24 23:00:16
PDT 2012; root:xnu-2050年7月9日~1/RELEASE_X86_64 x86_64
I just modified the script that was here:
http://matplotlib.org/faq/installing_faq.html#building-and-installing-from-source-on-osx-with-epd
I don't actually have EPD, but it didn't look like there was anything
really EPD specific in that script so I used it.
Thanks,
-Ranjit
On Fri, Sep 21, 2012 at 5:59 PM, <
mat...@li...> wrote:
> Send Matplotlib-users mailing list submissions to
> mat...@li...
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
> or, via email, send a message with subject or body 'help' to
> mat...@li...
>
> You can reach the person managing the list at
> mat...@li...
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Matplotlib-users digest..."
>
>
> Today's Topics:
>
> 1. Re: install problem on OSX 10.8 (Benjamin Root)
> 2. Fwd: install problem on OSX 10.8 (Benjamin Root)
> 3. Re: Image as marker and axes "equal" aspect ratio (Andrea Gavana)
> 4. Re: install problem on OSX 10.8 (Damon McDougall)
> 5. Re: netcdf4-python build (Michael Rawlins)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: 2012年9月21日 14:53:26 -0400
> From: Benjamin Root <ben...@ou...>
> Subject: Re: [Matplotlib-users] install problem on OSX 10.8
> To: Ranjit Chacko <ra...@ge...>
> Cc: mat...@li...
> Message-ID:
> <
> CAN...@ma...>
> Content-Type: text/plain; charset="iso-8859-1"
>
> On Fri, Sep 21, 2012 at 2:19 PM, Ranjit Chacko <ra...@ge...>
> wrote:
>
> > I'm having some trouble compiling matplotlib, and I'm not sure how to fix
> > it. Does anyone have any advice on how to proceed given the following
> > traceback?
> >
> > Thanks,
> >
> > -Ranjit
> >
> >
> Which version of matplotlib? How are you building it (i.e., what set of
> directions are you following)?
>
> Ben Root
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
> ------------------------------
>
> Message: 2
> Date: 2012年9月21日 15:01:59 -0400
> From: Benjamin Root <ben...@ou...>
> Subject: [Matplotlib-users] Fwd: install problem on OSX 10.8
> To: Matplotlib Users <mat...@li...>
> Message-ID:
> <CANNq6FkLV83c8szb-Yjh=
> 3Qy...@ma...>
> Content-Type: text/plain; charset="iso-8859-1"
>
> Note: please use "Reply-All" to make sure the mailing list continues to get
> this thread.
>
> Could you do a "uname -a" at the command-line and give us that output? I
> was not aware that Apple shipped any 32-bit machines anymore.
>
> Ben Root
>
> ---------- Forwarded message ----------
> From: Ranjit Chacko <ra...@ge...>
> Date: Fri, Sep 21, 2012 at 2:55 PM
> Subject: Re: [Matplotlib-users] install problem on OSX 10.8
> To: Benjamin Root <ben...@ou...>
>
>
> I'm just cloned the repo from master yesterday, and I tried running the
> following script:
> NAME=matplotlib
> VERSION=v1.1.x
> PREFIX=$HOME
> cd matplotlib
> export LDFLAGS="-Os -arch i386 -L/usr/X11/lib"
> export CFLAGS="-Os -arch i386 -I/usr/X11/include
> -I/usr/X11/include/freetype2 -I/usr/X11/include/libpng12"
> export PKG_CONFIG_PATH="/usr/X11/lib/pkgconfig"
> export ARCHFLAGS="-arch i386"
> python setup.py build
> # use --prefix if you don't want it installed in the default location:
> python setup.py install #--prefix=$PREFIX
> cd ..
>
> Thanks,
>
> -Ranjit
> -------------- next part --------------
> An HTML attachment was scrubbed...
>
>
From: Michael R. <raw...@ya...> - 2012年09月22日 00:59:37
>________________________________
> From: Damon McDougall <dam...@gm...>
>To: Michael Rawlins <raw...@ya...> 
>Cc: "mat...@li..." <mat...@li...> 
>Sent: Friday, September 21, 2012 2:50 PM
>Subject: Re: [Matplotlib-users] netcdf4-python build
> 
>
>
>
>From what I remember dealing with the netcdf c library, you have to explicitly set a compile flag to enable hdf5 support. That was a while ago, though. I'm not sure if things have changed.
>
>
>Hope this helps.
>
>
>
>
>I did not do a source compile. 
>
>I've reinstalled libhdf5-serial-1.8.4 package and now have the right HDF5 library files. Successfully built and installed netCDF4-1.0. My script loads in module but a read/write issue is present. This is code that worked on previous system. Error:
>
> File "test.py", line 96, in <module>
>  data.missing_value=-9.99
> File "netCDF4.pyx", line 2570, in netCDF4.Variable.__setattr__ (netCDF4.c:28242)
> File "netCDF4.pyx", line 2392, in netCDF4.Variable.setncattr (netCDF4.c:26309)
> File "netCDF4.pyx", line 1013, in netCDF4._set_att (netCDF4.c:12699)
>AttributeError: NetCDF: Write to read only
>
>
>The statement in the code triggers the error.
>
>data.missing_value=-9.99 .
>
>MR
>

Showing 5 results of 5

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