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

Showing 9 results of 9

From: Zachary P. <zac...@ya...> - 2012年03月17日 19:16:36
>> I'm (finally) getting started with matplotlib, and am enjoying the lovely plot quality. However, as
>> 
> Finally getting started? You were one of our first contributors!
> http://sourceforge.net/mailarchive/message.php?msg_id=5192900
Heh. Well, now I'm actively trying to use it as a plotting library rather than a great place to snag code from for my own projects :)
> The 111, and the numbering scheme in general, is covered in the pyplot tutorial
> 
> http://matplotlib.sourceforge.net/users/pyplot_tutorial.html#working-with-multiple-figures-and-axes
> 
> and in the subplots API docs
> 
> http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.subplot
> 
> but it looks like the Figure.add_subplot docs could use some improvement here to explain the numbering scheme better (as pyplot.subplot does) 
> 
> http://matplotlib.sourceforge.net/api/figure_api.html#matplotlib.figure.Figure.add_subplot
Aah, thanks for the pointers! I realize that it's hard to keep all the docs spiffy when there are a couple of different ways to get the various bits of functionality. I'll go more thoroughly through the pyplot tutorial...
Thanks again,
Zach
From: Zachary P. <zac...@ya...> - 2012年03月17日 19:12:09
> Just to be clear, this code is not in github master. I assume you have a checkout of master and then dropped the attached _macosx.m into your src for before building and testing?
Yes, precisely. Checked out master, dropped the attached into src (and made sure that git diff showed a some changes in that file), and compiled without error.
Zach
From: Eric F. <ef...@ha...> - 2012年03月17日 17:27:01
On 03/16/2012 02:24 PM, Annie Seagram wrote:
> I've encountered an error on all pages associated with the tumbnails in
> the matplotlib thumbnail gallery (matplotib.sourceforge.net/gallery/html
> <http://matplotib.sourceforge.net/gallery/html>). Thus, none of the
> source codes or explanations are available. One such error:
Annie,
It looks to me like the problem is specific to a few of the examples. 
The thumbnail is linking to
http://matplotlib.sourceforge.net/examples/pylab_examples/demo_tight_layout_00.html
but the relevant page url is as above but without the "_00" part.
I have no idea why this is happening.
Eric
>
> 1. *Server:*matplotlib.sourceforge.net <http://matplotlib.sourceforge.net>
> 2. *URL path:*/examples/pylab_examples/demo_tight_layout_01.html
> 3. *Error notes:*NONE
> 4. *Error type:*404
> 5. *Request method:*GET
> 6. *Request query string:*NONE
> 7. *Time:*2012年03月17日 00:20:17 UTC (1331943617)
>
> Thanks,
>
> - Annie Seagram
> Research Assistant
> Department of Earth and Ocean Sciences
> University of British Coumbia
> Vancouver, BC
> ase...@eo... <mailto:ase...@eo...>
>
>
>
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here
> http://p.sf.net/sfu/sfd2d-msazure
>
>
>
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
From: John H. <jd...@gm...> - 2012年03月17日 15:51:52
On Fri, Mar 16, 2012 at 4:34 PM, Zachary Pincus <zac...@ya...>wrote:
> Hi all,
>
> I'm (finally) getting started with matplotlib, and am enjoying the lovely
> plot quality. However, as
Finally getting started? You were one of our first contributors!
http://sourceforge.net/mailarchive/message.php?msg_id=5192900
a non-matlab user, I'm finding it *extremely* difficult to figure out how
> to do even the simplest tasks / understand the code samples. (e.g. what is
> the '111' in the boilerplate calls to add_subplot() in the various
> examples? I couldn't find anything in the docs, and had to resort to the
> matlab documentation!)
>
>
The 111, and the numbering scheme in general, is covered in the pyplot
tutorial
http://matplotlib.sourceforge.net/users/pyplot_tutorial.html#working-with-multiple-figures-and-axes
and in the subplots API docs
http://matplotlib.sourceforge.net/api/pyplot_api.html#matplotlib.pyplot.subplot
but it looks like the Figure.add_subplot docs could use some improvement
here to explain the numbering scheme better (as pyplot.subplot does)
http://matplotlib.sourceforge.net/api/figure_api.html#matplotlib.figure.Figure.add_subplot
I'll try and find some time today to clean up this docstring and to improve
the pyplot tutorial to use the recommended "subplots" command.
JDH
From: John H. <jd...@gm...> - 2012年03月17日 15:07:53
On Mar 17, 2012, at 9:49 AM, Zachary Pincus <zac...@ya...> wrote:
>> If you can test and confirm that you can build and use mpl normally with this patch, please respond with a python version and OSX version that you tested with. Some of the fixes were python3 specific, so if you also can test this against matplotlib master and python3, that would be great.
>> 
> 
> Builds and (appears to) work fine on 10.7 with python 2.7, using the latest code from the github master.
> 
> 
Just to be clear, this code is not in github master. I assume you have a checkout of master and then dropped the attached _macosx.m into your src for before building and testing?
From: Zachary P. <zac...@ya...> - 2012年03月17日 14:49:50
> If you can test and confirm that you can build and use mpl normally with this patch, please respond with a python version and OSX version that you tested with. Some of the fixes were python3 specific, so if you also can test this against matplotlib master and python3, that would be great.
> 
Builds and (appears to) work fine on 10.7 with python 2.7, using the latest code from the github master.
Zach
From: Zachary P. <zac...@ya...> - 2012年03月17日 14:00:23
For posterity, Ben Root let me know off-list that the interaction bug is fixed in the soon-to-be-released v 1.1.1.
Also, regarding documentation, I mentioned to Ben and I'll mention here too that I'd be happy to help out where I can with what sort of information would be helpful for getting people in my position (tons of python knowledge, but almost none of matlab) up and running with matplotlib -- which as of now seems to rely on similarity-with-matlab for getting new users started. 
I'm obviously not the right person to write new docs, but if there's any other way I can help, I'd be happy to.
Zach
On Mar 16, 2012, at 5:34 PM, Zachary Pincus wrote:
> Hi all,
> 
> I'm (finally) getting started with matplotlib, and am enjoying the lovely plot quality. However, as a non-matlab user, I'm finding it *extremely* difficult to figure out how to do even the simplest tasks / understand the code samples. (e.g. what is the '111' in the boilerplate calls to add_subplot() in the various examples? I couldn't find anything in the docs, and had to resort to the matlab documentation!)
> 
> Anyhow, I've soldiered on, and have run across an issue that I don't know if is related to my non-comprehension of the right syntax, a bug in the Axes3D code, or a problem with the MacOSX backend. Here's code to duplicate the issue (Python 2.7, OS X 10.7, matplotlib 1.1.0, via pre-built installer):
> 
> import matplotlib as mpl
> mpl.use('macosx')
> import matplotlib.pyplot as plt
> plt.ion()
> from mpl_toolkits.mplot3d import Axes3D
> fig = plt.figure()
> ax = fig.gca(projection='3d')
> ax.plot([1,2,3], [2,3,2], [2,5,7]) # draws immediately!?
> ax.cla() # plt.cla() has same effect
> ax.plot([1,2,3], [2,3,2], [2,5,7]) # doesn't draw?
> plt.draw() # now draws, but z-order is messed up -- grid lines on top?
> # And worse, now figure can't be interactively rotated with the mouse
> 
> Nothing can restore interactivity short of making a new figure, or calling fig.clf() (which I *randomly* happened on), and then making a new set of axes.
> 
> Is this a known issue? Am I doing something wrong -- is ax.cla() or plt.cla() the wrong thing to clear the figure?
> 
> Thanks a lot,
> Zach
> ------------------------------------------------------------------------------
> This SF email is sponsosred by:
> Try Windows Azure free for 90 days Click Here 
> http://p.sf.net/sfu/sfd2d-msazure
> _______________________________________________
> Matplotlib-users mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-users
From: John H. <jd...@gm...> - 2012年03月17日 12:23:26
Attachments: _macosx.m
We have a patch for some fixes for the OSX backend that we would like to
include in the next release. I assume these are good because they are by
the macosx backend author Michiel, but I no longer have ready access to OSX
boxes for testing and I was wondering if someone could. The updated file
is attached, you can drop it into the "src" directory of your matplotlib
tree, build/install, and test it. You need to make sure macosx is set to
be your default backend when testing (
http://matplotlib.sourceforge.net/faq/usage_faq.html#what-is-a-backend)
If you are using git, to track matplotlib, you can pull down this branch to
test
git checkout -b jdh2358-mdhoon-macosx origin/v1.1.x
git pull git://github.com/jdh2358/matplotlib.git mdhoon-macosx
If you can test and confirm that you can build and use mpl normally with
this patch, please respond with a python version and OSX version that you
tested with. Some of the fixes were python3 specific, so if you also can
test this against matplotlib master and python3, that would be great.
Thanks,
JDH
From: Annie S. <ase...@eo...> - 2012年03月17日 01:09:33
I've encountered an error on all pages associated with the tumbnails in the matplotlib thumbnail gallery (matplotib.sourceforge.net/gallery/html). Thus, none of the source codes or explanations are available. One such error:
1. Server: matplotlib.sourceforge.net 
2. URL path: /examples/pylab_examples/demo_tight_layout_01.html 
3. Error notes: NONE 
4. Error type: 404 
5. Request method: GET 
6. Request query string: NONE 
7. Time: 2012年03月17日 00:20:17 UTC (1331943617)
Thanks,
- Annie Seagram
Research Assistant
Department of Earth and Ocean Sciences
University of British Coumbia
Vancouver, BC
ase...@eo...

Showing 9 results of 9

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