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





Showing 6 results of 6

From: Robert L. <ro...@le...> - 2005年02月15日 22:08:57
Having just had a call from a client saying 'love the new graph, but why is the 
background sky blue' and thinking 'I've never done anything with sky blue in my 
life! - what have I broken', I then proceeded to learn more about Microsoft's 
lack of standards support than I really wanted or could spare the time to do.
The upshot is that transparent png's work perfectly in all tested browsers, as 
well as sundry image viewers/editors but not in IE, sigh!
I wondered why I hadn't struck this problem before so I looked at a few of my 
older, gnuplot generated, transparent png's, which worked perfectly in IE. A 
quick look with gimp shows that gnuplot uses a different technique for 
transparency than does Matplotlib. The transparent colour info for the gnuplot 
image is R:0, G:0, B:0, Alpha:0, Index:254 while for Matplotlib it is R:255, 
G:255, B:255, Alpha:0, with no Index.
Now I don't know enough (er, anything) about the low level detail of the png 
format, but I wonder if it is possible to achieve the same result in Matplotlib 
or do I need to post-process (using ImageMagick or similar) to generate the same 
style of png or possibly gif's?
Robert
From: John H. <jdh...@ac...> - 2005年02月15日 13:57:22
>>>>> "Fl=E1vio" =3D=3D Fl=E1vio Code=E7o Coelho <fcc...@fi...> wr=
ites:
 Fl=E1vio> I just want to let you know that neither 'cla', 'clf' nor
 Fl=E1vio> 'figure' solved the issue but 'close' did it. I must
 Fl=E1vio> point out that the only element that was being carried out
 Fl=E1vio> from figure to figure was the colorbar, not the plot
 Fl=E1vio> itself. Apparently 'close' is the only one of these
 Fl=E1vio> functions that gets rid of the colorbar.
Yep, cla would not be expected to do anything, since both the image
and colorbar are spearate axes. So cla, clf and close are working as
advertised -- and that's a good thing :-)
JDH
From: <fcc...@fi...> - 2005年02月15日 12:08:54
Attachments: testcolorbar.py
On Monday 14 February 2005 12:24, John Hunter wrote:
> >>>>> "Flávio" == Flávio Codeço Coelho <fcc...@fi...> writes:
>
> Flávio> I just want to let you know that neither 'cla', 'clf' nor
> Flávio> 'figure' solved the issue but 'close' did it. I must
> Flávio> point out that the only element that was being carried out
> Flávio> from figure to figure was the colorbar, not the plot
> Flávio> itself. Apparently 'close' is the only one of these
> Flávio> functions that gets rid of the colorbar.
>
> Hi Flávio,
>
> clf *should* work. Could you send me a script which includes a clf
> that replicates the problem so I can fix it. Thanks.
>
Hi John,
 clf does work, sorry. Its cla that does not (though I am not sure it should 
serve this purpose...)
i am sending the code attached
 
From: Chris B. <Chr...@no...> - 2005年02月15日 00:52:33
>>also, how am i going to assign to a variable anything that a user
>>inputs to a wxTxtCtrl?
>>
>>any help would greatly be appreciated. thanks and more power
You've bitten off quite a bit here all in one part. Start by looking at 
the wxPython Demo and Wiki for various code samples, and try to build a 
little app that just takes a value for input and does something with it. 
In fact, look at the "embedded in wx" matplotlib samples, there may be 
one that takes a value and generates a plot based on it.
As a hint, you'll need to use wxTextCtrl.GetValue() to get the input 
value, and convert it to a number with float().
As you start small, ask questions on the wxPython mailing list, we're 
very helpful there!
-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
Chr...@no...
From: Robert L. <ro...@le...> - 2005年02月15日 00:50:27
Is it possible to include a marker from one or more scatter plots in the legend?
Robert
From: Jan R. G. <jr...@gm...> - 2005年02月15日 00:19:31
On 2005年1月28日 15:18:53 +0800, Jan Rienyer Gadil <jr...@gm...> wrote:
> i'm currently using python 2.3(enthought edition) on win 2000/xp.
> i'm using boa constructor on the GUI part and matplotlib 0.71 on
> plotting the graph.
> 
> i am using an MDIParentFrame. one of the child frame will be used for
> the table part. then another child frame will be used to show the
> graph, how am i going to do this? will i just import the child frame
> containing the tables and then i'll be able to just get the data from
> the table and use it to plot a graph?
> how am i going to assign to a variable each input to the table?
> can you please show me a sample code to do this?
> i'm a little lost since i'm a bit new to python.
> 
> also, how am i going to assign to a variable anything that a user
> inputs to a wxTxtCtrl?
> 
> any help would greatly be appreciated. thanks and more power
> 
anybody could help me on this?

Showing 6 results of 6

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