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





Showing 7 results of 7

From: Christopher B. <Chr...@no...> - 2009年08月16日 19:29:37
Werner F. Bruhin wrote:
> I am trying to put together a wxPython frame using py.aui to show 
> multiple matplotlib.figures/canvas.
I'd recommend you take a look at wxMPL -- it's a nice way to embed MPL 
in wx.
> Would like that each figure takes x percentage of available screen 
> estate. I.e. would like e.g. to have 2 rows with 3 columns of 
> figures/statistics, i.e. 6 graphics.
To be clear with the vocabulary -- in MPL, a "figure" would be one 
wxWindow. In that you can put multiple "axes" which show the actual 
plots (sometimes referred to as subplots). In this case, I'm not sure if 
you want more than one MPL figure.
> If the total screen estate is too small then there should be scrollbars 
> per figure/canvas.
If you want multiple figures, than this isn't really an MPL question. 
You'd do that layout the same way you would with any other set of 
wxWindows -- probably putting them all on a wxScrolledWindow, in Sizers, 
and giving them a minimum size.
With a single MPL Figure, it would be similar, put it on 
wxScrolledWindows, with a minimum size set.
> Hopefully some samples code (in the example files which existed in 
> 0.90.x)
Is this what you are looking for?
http://matplotlib.sourceforge.net/examples/index.html
in particular, you might want to look at the wx examples here:
http://matplotlib.sourceforge.net/examples/user_interfaces/index.html
-Chris
-- 
Christopher Barker, Ph.D.
Oceanographer
NOAA/OR&R/HAZMAT (206) 526-6959 voice
7600 Sand Point Way NE (206) 526-6329 fax
Seattle, WA 98115 (206) 526-6317 main reception
From: Christoph G. <cg...@uc...> - 2009年08月16日 19:10:01
Hi Marc,
I can not reproduce this crash on my Vista development computer or on a 
fresh installation of Windows XP, Python 2.5.4, Numpy 1.3, matplotlib 
0.99, basemap 0.99.4 in a VM. All examples work (some depend on PIL).
Can you run these commands without crash?
python -c "import _geoslib"
python -c "from mpl_toolkits.basemap import _geod"
python -c "from mpl_toolkits.basemap import _proj"
These basemap/geos C modules depend on MSVCR71.DLL and MSVCP71.DLL, 
which are not included in the basemap installer.
Christoph
From: Ryan M. <rm...@gm...> - 2009年08月16日 14:27:37
On Sun, Aug 16, 2009 at 8:02 AM, Sebastian <bas...@gm...> wrote:
> Hi all,
> When I import pylab the locale settings are changed (I'm using
> matplotlib 0.99.0):
>
> In [1]: import locale
>
> In [2]: print locale.localeconv()
> {'mon_decimal_point': '', 'int_frac_digits': 127, 'p_sep_by_space': 127,
> 'frac_digits': 127, 'thousands_sep': '', 'n_sign_posn': 127,
> 'decimal_point': '.', 'int_curr_symbol': '', 'n_cs_precedes': 127,
> 'p_sign_posn': 127, 'mon_thousands_sep': '', 'negative_sign': '',
> 'currency_symbol': '', 'n_sep_by_space': 127, 'mon_grouping': [],
> 'p_cs_precedes': 127, 'positive_sign': '', 'grouping': []}
>
> In [3]: import pylab
>
> In [4]: print locale.localeconv()
> {'mon_decimal_point': ',', 'int_frac_digits': 2, 'p_sep_by_space': 1,
> 'frac_digits': 2, 'thousands_sep': '', 'n_sign_posn': 1,
> 'decimal_point': ',', 'int_curr_symbol': 'EUR ', 'n_cs_precedes': 1,
> 'p_sign_posn': 1, 'mon_thousands_sep': ' ', 'negative_sign': '-',
> 'currency_symbol': '\xe2\x82\xac', 'n_sep_by_space': 1, 'mon_grouping':
> [3, 3, 0], 'p_cs_precedes': 1, 'positive_sign': '', 'grouping': []}
>
>
>
> Is this a bug or a feature?
>
> For me it broke some code in a c-extension which parses a file with
> floating point numbers and didn't recognize them anymore:(
What backend are you using? IIRC, gtk has been behind this in the past.
Ryan
-- 
Ryan May
Graduate Research Assistant
School of Meteorology
University of Oklahoma
From: Werner F. B. <wer...@fr...> - 2009年08月16日 14:02:10
I am trying to put together a wxPython frame using py.aui to show 
multiple matplotlib.figures/canvas.
Would like that each figure takes x percentage of available screen 
estate. I.e. would like e.g. to have 2 rows with 3 columns of 
figures/statistics, i.e. 6 graphics.
If the total screen estate is too small then there should be scrollbars 
per figure/canvas.
Hopefully some samples code (in the example files which existed in 
0.90.x) can put me in the right direction, otherwise I will try to put 
together a stand alone sample (without access to my database) to show my 
problem.
Werner
From: Werner F. B. <wer...@fr...> - 2009年08月16日 13:55:47
I am just starting to test 0.99 (having remained on 0.90.1 for some time 
now).
I can't find the examples - can anyone point out were they are.
Used the following to install:
matplotlib-0.99.0.win32-py2.5-setup.exe
Werner
From: Sebastian <bas...@gm...> - 2009年08月16日 13:02:22
Hi all,
When I import pylab the locale settings are changed (I'm using
matplotlib 0.99.0):
In [1]: import locale
In [2]: print locale.localeconv()
{'mon_decimal_point': '', 'int_frac_digits': 127, 'p_sep_by_space': 127,
'frac_digits': 127, 'thousands_sep': '', 'n_sign_posn': 127,
'decimal_point': '.', 'int_curr_symbol': '', 'n_cs_precedes': 127,
'p_sign_posn': 127, 'mon_thousands_sep': '', 'negative_sign': '',
'currency_symbol': '', 'n_sep_by_space': 127, 'mon_grouping': [],
'p_cs_precedes': 127, 'positive_sign': '', 'grouping': []}
In [3]: import pylab
In [4]: print locale.localeconv()
{'mon_decimal_point': ',', 'int_frac_digits': 2, 'p_sep_by_space': 1,
'frac_digits': 2, 'thousands_sep': '', 'n_sign_posn': 1,
'decimal_point': ',', 'int_curr_symbol': 'EUR ', 'n_cs_precedes': 1,
'p_sign_posn': 1, 'mon_thousands_sep': ' ', 'negative_sign': '-',
'currency_symbol': '\xe2\x82\xac', 'n_sep_by_space': 1, 'mon_grouping':
[3, 3, 0], 'p_cs_precedes': 1, 'positive_sign': '', 'grouping': []}
Is this a bug or a feature?
For me it broke some code in a c-extension which parses a file with
floating point numbers and didn't recognize them anymore:(
Cheers,
Sebastian
From: marc d. <mde...@ya...> - 2009年08月16日 06:52:40
I can run a demo basemap on my Vista PC using version 0.99.3 for py2.5. I upgraded to 0.99.4 because the great circle function would crash. But now nothing works.
I brought it in to Microsoft C++ debugger:
"unhandled exception in python.exe: 0xC0000005: Access Violation"
Marc Desmarais
Long Beach, CA, 90814
 

Showing 7 results of 7

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