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






Showing 7 results of 7

From: Elan P. <el...@MI...> - 2009年05月09日 23:05:08
Hi John and Jae-Joon,
While it hardly solves *all* of the issues I've been having it does work 
for this problem:) Thanks a ton. As for committing it to the repository 
I'd be honored if Jae Joon agrees. Should I clean it up and remove the 
debugging prints?
Elan
----
"If stupidity got us into this mess, why can't it get us out?"
 	- Will Rogers
On Sat, 9 May 2009, John Hunter wrote:
> On Sat, May 9, 2009 at 12:08 PM, Jae-Joon Lee <lee...@gm...> wrote:
>> Here is a slightly modified version of your script which works for me.
>>
>> I don't think this is the bug in mpl. Note that the ax.bbox does
>> change if the canvas size change. In your original script, the
>> copy_from_bbox is called before frame.Show() and this seems to cause a
>> mismatching bbox.
>>
>> My modified example is also not perfect. A new background image needs
>> to be saved whenever ax.bbox changes (e.g. when resizing canvas).
>
> probably best way to do this is to connect to the draw_event, and
> update the background on the draw_event. I've updated the example and
> attached it -- do you mind if I commit it to the mpl examples dir (and
> does this solve all the issues you are having)?
>
> JDH
>
From: Eric F. <ef...@ha...> - 2009年05月09日 18:13:09
John Hunter wrote:
> On Sat, May 9, 2009 at 9:32 AM, Freddie Witherden <fr...@wi...> wrote:
>> Hi all,
>>
>> As some of you probably know I am working on the GSoC project to
>> externalise the Mathtex engine from Matplotlib. Today I have been
>> toying around with the renderer using various backends.
>>
>> One of the interesting things that I discovered was that the Cairo
>> backend was making use of subpixel rendering. (Or 'ClearType' as
>> Microsoft call it.) This is not surprising -- by default Cairo will
>> respect a users fontconfig settings when rendering text. Since I have
>> subpixel rendering enabled all text rendered by Cairo is subpixel
>> rendered.
>>
>> While this is fantastic for on screen text -- being significantly more
>> pleasing to look at that the text produced by the AGG backend -- it is
>> unsuitable for print. Now it is not too difficult to disable this,
>> Cairo has an API call: cairo_font_options_set_antialias to deal with
>> this.
>>
>> While I could write a quick patch to always disable subpixel rendering
>> it would be something off a loss to those who either view their graphs
>> onscreen or export them for the web -- where using subpixel rendering
>> is now surprisingly common.
>>
>> Is it worth looking into adding subpixel rendering as a configuration
>> option?
> 
> The matplotlib.lines.Line2D objects has an antialiased property -- we
> could add the same property to matplotlib.text.Text to turn on/off
> subpixel rendering (which could also be supported as an rc param)
I haven't poked around, so this may be a stupid question, but: for 
cairo, can subpixel rendering simply be left on for screen display and 
automatically turned off when writing to a file via savefig? If this 
can be done, it seems like a better solution than requiring to the user 
to turn the parameter on and off manually, depending on whether show() 
or savefig() is being called.
Eric
> 
> JDH
From: John H. <jd...@gm...> - 2009年05月09日 18:02:54
On Sat, May 9, 2009 at 9:32 AM, Freddie Witherden <fr...@wi...> wrote:
> Hi all,
>
> As some of you probably know I am working on the GSoC project to
> externalise the Mathtex engine from Matplotlib. Today I have been
> toying around with the renderer using various backends.
>
> One of the interesting things that I discovered was that the Cairo
> backend was making use of subpixel rendering. (Or 'ClearType' as
> Microsoft call it.) This is not surprising -- by default Cairo will
> respect a users fontconfig settings when rendering text. Since I have
> subpixel rendering enabled all text rendered by Cairo is subpixel
> rendered.
>
> While this is fantastic for on screen text -- being significantly more
> pleasing to look at that the text produced by the AGG backend -- it is
> unsuitable for print. Now it is not too difficult to disable this,
> Cairo has an API call: cairo_font_options_set_antialias to deal with
> this.
>
> While I could write a quick patch to always disable subpixel rendering
> it would be something off a loss to those who either view their graphs
> onscreen or export them for the web -- where using subpixel rendering
> is now surprisingly common.
>
> Is it worth looking into adding subpixel rendering as a configuration
> option?
The matplotlib.lines.Line2D objects has an antialiased property -- we
could add the same property to matplotlib.text.Text to turn on/off
subpixel rendering (which could also be supported as an rc param)
JDH
From: John H. <jd...@gm...> - 2009年05月09日 17:58:23
Attachments: anim3.py
On Sat, May 9, 2009 at 12:08 PM, Jae-Joon Lee <lee...@gm...> wrote:
> Here is a slightly modified version of your script which works for me.
>
> I don't think this is the bug in mpl. Note that the ax.bbox does
> change if the canvas size change. In your original script, the
> copy_from_bbox is called before frame.Show() and this seems to cause a
> mismatching bbox.
>
> My modified example is also not perfect. A new background image needs
> to be saved whenever ax.bbox changes (e.g. when resizing canvas).
probably best way to do this is to connect to the draw_event, and
update the background on the draw_event. I've updated the example and
attached it -- do you mind if I commit it to the mpl examples dir (and
does this solve all the issues you are having)?
JDH
From: Jae-Joon L. <lee...@gm...> - 2009年05月09日 17:08:13
Attachments: anim2.py
Here is a slightly modified version of your script which works for me.
I don't think this is the bug in mpl. Note that the ax.bbox does
change if the canvas size change. In your original script, the
copy_from_bbox is called before frame.Show() and this seems to cause a
mismatching bbox.
My modified example is also not perfect. A new background image needs
to be saved whenever ax.bbox changes (e.g. when resizing canvas).
-JJ
On Fri, May 8, 2009 at 5:02 PM, Elan Pavlov <ep...@gm...> wrote:
> Hi,
> Restore_region does not appear to work when embedding mpl into
> wxpython. Attached is a simple modification of the cookbook animation
> (http://www.scipy.org/Cookbook/Matplotlib/Animations) to illustrate
> this problem. I modified the example so it is updated on mouse
> movements (followed by idle time) so that the problem is more visual.
> There is also a flag to add one second timeouts between commands in
> the update method. When looking at the slowed animation it is clear
> that the background is never restored.
> Michiel Hoon thinks that the problem is due to the fact that
> restore_region is not implemented within the event loop and that the
> proper solution requires discussion:)
>
> Elan
> ---
> Of joys departed, not to return, how painful the remembrance.
> - Robert Blair
>
> ------------------------------------------------------------------------------
> The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
> production scanning environment may not be a perfect world - but thanks to
> Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
> Series Scanner you'll get full speed at 300 dpi even with all image
> processing features enabled. http://p.sf.net/sfu/kodak-com
> _______________________________________________
> Matplotlib-devel mailing list
> Mat...@li...
> https://lists.sourceforge.net/lists/listinfo/matplotlib-devel
>
>
From: Freddie W. <fr...@wi...> - 2009年05月09日 14:32:25
Hi all,
As some of you probably know I am working on the GSoC project to 
externalise the Mathtex engine from Matplotlib. Today I have been 
toying around with the renderer using various backends.
One of the interesting things that I discovered was that the Cairo 
backend was making use of subpixel rendering. (Or 'ClearType' as 
Microsoft call it.) This is not surprising -- by default Cairo will 
respect a users fontconfig settings when rendering text. Since I have 
subpixel rendering enabled all text rendered by Cairo is subpixel 
rendered.
While this is fantastic for on screen text -- being significantly more 
pleasing to look at that the text produced by the AGG backend -- it is 
unsuitable for print. Now it is not too difficult to disable this, 
Cairo has an API call: cairo_font_options_set_antialias to deal with 
this.
While I could write a quick patch to always disable subpixel rendering 
it would be something off a loss to those who either view their graphs 
onscreen or export them for the web -- where using subpixel rendering 
is now surprisingly common.
Is it worth looking into adding subpixel rendering as a configuration 
option?
Regards, Freddie.
From: Tony S Yu <to...@MI...> - 2009年05月09日 00:52:56
I'm running into the following error with the wx backend
> >>> import wx
> >>> import matplotlib.backends.backend_wxagg
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "/Users/Tony/python/matplotlib/trunk/matplotlib/lib/ 
> matplotlib/backends/backend_wxagg.py", line 23, in <module>
> import backend_wx # already uses wxversion.ensureMinimal('2.8')
> File "/Users/Tony/python/matplotlib/trunk/matplotlib/lib/ 
> matplotlib/backends/backend_wx.py", line 120, in <module>
> except wxversion.AlreadyImportedError:
> AttributeError: 'module' object has no attribute 
> 'AlreadyImportedError'
This problem seems to be related to additions made here:
http://www.nabble.com/Selecting-WX2.8-in-examples-td22380586.html
The problem is that my version of wxversion raises 'VersionError' 
instead of 'AlreadyImportedError'.
I'm running wxPython 2.8.4.0 while people in the above thread seem to 
be using at least 2.8.7.1. Do I need to upgrade, or is this a bug?
Thanks,
-Tony

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