SourceForge logo
SourceForge logo
Menu

matplotlib-devel — matplotlib developers

You can subscribe to this list here.

2003 Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
(1)
Nov
(33)
Dec
(20)
2004 Jan
(7)
Feb
(44)
Mar
(51)
Apr
(43)
May
(43)
Jun
(36)
Jul
(61)
Aug
(44)
Sep
(25)
Oct
(82)
Nov
(97)
Dec
(47)
2005 Jan
(77)
Feb
(143)
Mar
(42)
Apr
(31)
May
(93)
Jun
(93)
Jul
(35)
Aug
(78)
Sep
(56)
Oct
(44)
Nov
(72)
Dec
(75)
2006 Jan
(116)
Feb
(99)
Mar
(181)
Apr
(171)
May
(112)
Jun
(86)
Jul
(91)
Aug
(111)
Sep
(77)
Oct
(72)
Nov
(57)
Dec
(51)
2007 Jan
(64)
Feb
(116)
Mar
(70)
Apr
(74)
May
(53)
Jun
(40)
Jul
(519)
Aug
(151)
Sep
(132)
Oct
(74)
Nov
(282)
Dec
(190)
2008 Jan
(141)
Feb
(67)
Mar
(69)
Apr
(96)
May
(227)
Jun
(404)
Jul
(399)
Aug
(96)
Sep
(120)
Oct
(205)
Nov
(126)
Dec
(261)
2009 Jan
(136)
Feb
(136)
Mar
(119)
Apr
(124)
May
(155)
Jun
(98)
Jul
(136)
Aug
(292)
Sep
(174)
Oct
(126)
Nov
(126)
Dec
(79)
2010 Jan
(109)
Feb
(83)
Mar
(139)
Apr
(91)
May
(79)
Jun
(164)
Jul
(184)
Aug
(146)
Sep
(163)
Oct
(128)
Nov
(70)
Dec
(73)
2011 Jan
(235)
Feb
(165)
Mar
(147)
Apr
(86)
May
(74)
Jun
(118)
Jul
(65)
Aug
(75)
Sep
(162)
Oct
(94)
Nov
(48)
Dec
(44)
2012 Jan
(49)
Feb
(40)
Mar
(88)
Apr
(35)
May
(52)
Jun
(69)
Jul
(90)
Aug
(123)
Sep
(112)
Oct
(120)
Nov
(105)
Dec
(116)
2013 Jan
(76)
Feb
(26)
Mar
(78)
Apr
(43)
May
(61)
Jun
(53)
Jul
(147)
Aug
(85)
Sep
(83)
Oct
(122)
Nov
(18)
Dec
(27)
2014 Jan
(58)
Feb
(25)
Mar
(49)
Apr
(17)
May
(29)
Jun
(39)
Jul
(53)
Aug
(52)
Sep
(35)
Oct
(47)
Nov
(110)
Dec
(27)
2015 Jan
(50)
Feb
(93)
Mar
(96)
Apr
(30)
May
(55)
Jun
(83)
Jul
(44)
Aug
(8)
Sep
(5)
Oct
Nov
(1)
Dec
(1)
2016 Jan
Feb
Mar
(1)
Apr
May
Jun
(2)
Jul
Aug
(3)
Sep
(1)
Oct
(3)
Nov
Dec
2017 Jan
Feb
(5)
Mar
Apr
May
Jun
Jul
(3)
Aug
Sep
(7)
Oct
Nov
Dec
2018 Jan
Feb
Mar
Apr
May
Jun
Jul
(2)
Aug
Sep
Oct
Nov
Dec
S M T W T F S
1
2
(6)
3
(6)
4
(9)
5
(3)
6
(4)
7
8
(8)
9
(4)
10
11
(4)
12
(2)
13
(4)
14
(3)
15
(1)
16
(1)
17
(6)
18
(3)
19
20
(2)
21
(3)
22
(4)
23
(2)
24
(5)
25
(1)
26
27
(3)
28
(3)
29
(3)
30
(1)
31
(2)




Showing 6 results of 6

From: Darren D. <dd...@co...> - 2005年05月02日 23:57:33
Hi Everyone,
There is a new formatter in ticker.py called NewScalarFormatter. If you have 
scientific notation in your plots, you may like the results. If you would 
like to try it out, you need to change ScalarFormatter->OldScalarFormatter, 
and NewScalarFormatter->ScalarFormatter. It will then be the default for 
linear scale axes. I would appreciate feedback, it will hopefully become the 
default at some point.
Darren
From: Darren D. <dd...@co...> - 2005年05月02日 20:03:31
It looks like there is a bug in the text bounding boxes. It causes some 
problems in the postscript backend, where I noticed badly formatted logscale 
ticks. It looks like the bug exists in the AGG backend as well, although it 
is less noticeable there. I filed two bugs at the sf website, with images of 
bboxes that dont fit their associated text. You can also run the script 
below, but you will need a recent update of patches.py, John fixed a bug 
there today.
I assigned the PS bug to myself. If anyone has some insight, I could 
definitely use it.
Darren
http://sourceforge.net/tracker/index.php?func=detail&aid=1177396&group_id=80706&atid=560720
from pylab import *
def addtext(props):
 text(0.5, 0.5, 'xx-small', props, fontsize='xx-small')
 text(1.5, 0.5, 'x-small', props, fontsize='x-small')
 text(2.5, 0.5, 'small', props, fontsize='small')
 text(3.5, 0.5, 'medium', props, fontsize='medium')
 text(4.5, 0.5, 'large', props, fontsize='large')
 yticks([0,.5,1])
# the text bounding box
bbox = {'fc':0.8, 'pad':0} 
figure(1,figsize=(5,2))
axes()
addtext({'ha':'center', 'va':'center', 'bbox':bbox})
xlim(0,5)
savefig('/home/darren/temp/bbox.eps')
savefig('/home/darren/temp/bbox.png')
show()
From: Marcin W. <wo...@un...> - 2005年05月02日 11:42:26
Matt Newville wrote:
> For my apps, I provide interactivity by binding left-click to
> 'report x,y coords', left-down-and-drag (ie, move more than a
> few pixels) to 'Zoom to Rectangle', and have right-click bring
> up a pop-up menu with 'zoom back 1 level', 'zoom back to full
> view', and 'save image', among other things. That makes the
I'll think about it, perhaps its a better solution. With 3 buttons
and 1 wheel most of actions can be easily accessed.
> I do think it would be possible to come up with yet another
> binding mode (toolbar, toolbar2, ... no_toolbar, or toolbar0??),
> where the above behavior was provided. I don't know if that
> would be considered generally useful or not.
Probably it will be useful for me.
Marcin
--=20
Marcin Wojdyr | http://www.unipress.waw.pl/~wojdyr
From: Marcin W. <wo...@un...> - 2005年05月02日 11:14:28
John Hunter wrote:
>
> What do you mean by updating plot -- calling a plot command? Calling
Yes
> "plot" and related functions does autoscale the axes -- is this the
> problem you are referring to?
Yes, that was the problem.
> It might be useful to add and
> autoscale=3DFalse option, much in the way we have a hold=3DTrue|False
> option, to the plot command, so one could issue a plot command w/o
> changing the current view lim.
>
Yes, but I would also like to allow user explicitly autoscale, ie. show
whole plot when when pressing home (or another) button.
So I don't want to change the current view lim when calling plot command,
but I want to know what the new data lims are, to be able to use it later=
.
Marcin
--=20
Marcin Wojdyr | http://www.unipress.waw.pl/~wojdyr
From: Matt N. <new...@ca...> - 2005年05月02日 03:44:45
Hi Marcin,
> And why wx and gtk toolbars are different -- in GTK button
> descriptions are in tooltips and x,y position is displayed in
> toolbar, and in wx statusbar is used? Are they different by
> design? I prefer the first way, without statusbar.
Hmm, I'd guess they're different because no one noticed or
because 'desired behavior' is not obvious. Having tooltips does
seem like a good idea, and doable, but reporting x,y to the
statusbar seems like the right place to me.
 
> And last thing: what do you think about making toolbar2 more
> hmm.. interactive(?), i mean disabled back/forward buttons
> whan there is no history, pressed pan/zoom buttons when in
> pan/zoom mode etc? I don't know if I'll try to do it, but if
> someone would do it, would it be included in MPL?
I think this is a good suggestion and not too difficult to do
for wx.
For the rest of your post, I realize this doesn't answer your
immediate questions, and may not be mpl-correct, but....:
My preference for Apps is to not use the toolbars at all. 
Maybe this is because I never used Matlab, or maybe because I
confuse toolbar and toolbar2, and don't remember the meaning of
all the icons (is the left arrow "move left" or "back one view"? 
which one is "pan/zoom" and which is "zoom to rectangle"? why
does 'axis' show up for plots with only one axis?). Also, the
toolbars take up room for something that is not used all the
time, and this functionality is (IMO) better in the menus or
toolbars of the Application or in pop-up menus. In short, I
don't think the toolbars are appropriate for Apps.
For my apps, I provide interactivity by binding left-click to
'report x,y coords', left-down-and-drag (ie, move more than a
few pixels) to 'Zoom to Rectangle', and have right-click bring
up a pop-up menu with 'zoom back 1 level', 'zoom back to full
view', and 'save image', among other things. That makes the
most important actions (report x,y, zoom in) always "on", and
the second most important actions (zoom out, save image) are
relatively easy to get to (right click on the plot then use
menu, as opposed to clicking on a toolbar button).
Maybe this negative opinion of the toolbars disqualifies me from
commenting on them (in which case, my apologies). Or maybe the
toolbars really aren't what you want in your apps, either.
I do think it would be possible to come up with yet another
binding mode (toolbar, toolbar2, ... no_toolbar, or toolbar0??),
where the above behavior was provided. I don't know if that
would be considered generally useful or not.
--Matt
From: John H. <jdh...@ac...> - 2005年05月02日 02:07:59
>>>>> "Marcin" == Marcin Wojdyr <wo...@un...> writes:
 Marcin> Hi, I was trying to make updating plot not cause to change
 Marcin> zoom. I have wxPython program with embedded plot and I
 Marcin> can change some parameters what makes some changes on the
 Marcin> plot. User should be able to zoom and then change these
What do you mean by updating plot -- calling a plot command? Calling
"plot" and related functions does autoscale the axes -- is this the
problem you are referring to? It might be useful to add and
autoscale=False option, much in the way we have a hold=True|False
option, to the plot command, so one could issue a plot command w/o
changing the current view lim.
I ready through your post several times but still am not quite sure
what problem you are describing. Could you elaborate? Could you be
more specific: what are the "parameters" for example?
 Marcin> parameters and see how it influences plot, OTOH it should
 Marcin> be easy to show whole plot, eg. using home button.
 Marcin> Perhaps I'm wrong, but I think its quite common
 Marcin> requirement.
 Marcin> BTW pressing home button calls toolbar's draw() twice:
OK, I'll fix this. Thanks.
 Marcin> And why wx and gtk toolbars are different -- in GTK button
 Marcin> descriptions are in tooltips and x,y position is displayed
 Marcin> in toolbar, and in wx statusbar is used? Are they
 Marcin> different by design? I prefer the first way, without
 Marcin> statusbar.
This is mainly due to historical accident. He who write the backend
generally does it the way they want. The wx backend was the 2nd GUI
ever and there was no policy. Since then we've worked to make the
interface between the backends fairly uniform but there are some
historical differences. I don't feel strongly about it, but am
amenable to accepting a patch to change wx to behave like the other
backends.
 Marcin> And last thing: what do you think about making toolbar2
 Marcin> more hmm.. interactive(?), i mean disabled back/forward
 Marcin> buttons whan there is no history, pressed pan/zoom buttons
 Marcin> when in pan/zoom mode etc? I don't know if I'll try to do
 Marcin> it, but if someone would do it, would it be included in
 Marcin> MPL?
Yes, this would be nice. I think fltk already does this. It's mainly
a matter of getting to this to work on each and every backend. I
think Steve and I both looked at this for gtk, but couldn't an easy
way to do this. Part of the problem, I think, is that mpl is using
custom images for these buttons and it wasn't clear to me how to
indicate "pressed" status with button relief, etc... Patches gladly
accepted.
JDH

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