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




Showing 3 results of 3

From: Eric F. <ef...@ha...> - 2014年09月27日 23:40:18
One of the biggest causes of controversy in mpl, and of difficulty in 
teaching and learning mpl, is the divide between pyplot and the rest of 
the library. There are at least two aspects:
1) plt.title() versus ax.set_title(), etc; that is, all the clunky 
getters and setters on the OO side. JDH used to note that they were a 
side-effect of his C++ heritage, and that he probably wouldn't have used 
them if he had had more Python experience when he started mpl.
2) For interactive use, such as in the ipython console, one really wants 
pyplot's draw_if_interactive() functionality; one doesn't want to have 
to type explicit plt.draw() commands. Worse, plt.draw() operates on the 
current figure, which might not be the figure that one just updated with 
"ax2.set_title('the other plot')".
I think that both of these speed bumps can be removed fairly easily, in 
an entirely backwards-compatible way.
The first is just a matter of propagating some shorter-form pyplot 
function names back to Axes and Figure. This idea is mentioned at the 
end of MEP 13, as an alternative to properties.
The second requires accepting some behavior in the Axes and Figure 
classes that is conditional on the backend and the interactive state. I 
think it would look *roughly* like this:
Add a method to Figure:
def draw_if_interactive():
 if not is_interactive:
 return
 if not isinstance(self.canvas, interactive_canvases):
 return
 self.canvas.draw()
Append this method to suitable Figure methods such as suptitle().
Add a method to Axes:
def draw_if_interactive():
 self.figure.draw_if_interactive()
Append this method to suitable Axes methods--all those that execute 
changes, or at least those with corresponding pyplot functions.
Some additional logic (either a kwarg, or temporary manipulation of the 
"interactive" flag, or of an Axes instance flag) would be needed to 
block the drawing at intermediate stages--e.g., when boxplot is drawing 
all its bits and pieces.
After these changes, the pyplot functions could be simplified; they 
would not need their own draw_if_interactive calls.
Am I missing some major impediment? If not, I think this set of changes 
would make it much easier to use and teach the OO interface, with pyplot 
still being used where it is most helpful, such as in the subplots() call.
Eric
From: Andy D. <An...@Sa...> - 2014年09月27日 23:28:08
Hi
I am new to python and matplotlib. I have a little script that works fine on
my mac. How ever it does not run on my amazon ec2 cluster. I am basically
running a version of redhead. I have been able to install most of the
dependencies how ever I can not figure out to install libagg, free type, or
qhull. I tried using yum how ever this did not work.
Any suggestions would be greatly appreciated
Andy
sudo pip2.7 install six
sudo pip2.7 install python-dateutil
sudo pip2.7 install pyparsing
sudo pip2.7 install pycxx
ec2-user@ip-172-31-15-87 root]$ sudo pip2.7 install matplotlib
Downloading/unpacking matplotlib
 Downloading matplotlib-1.4.0.tar.gz (51.2MB): 51.2MB downloaded
 Running setup.py (path:/tmp/pip_build_root/matplotlib/setup.py) egg_info
for package matplotlib
 
============================================================================
 Edit setup.cfg to change the build options
 
 BUILDING MATPLOTLIB
 matplotlib: yes [1.4.0]
 python: yes [2.7.5 (default, Sep 15 2014, 17:30:20)
[GCC
 4.8.2 20140120 (Red Hat 4.8.2-16)]]
 platform: yes [linux2]
 
 REQUIRED DEPENDENCIES AND EXTENSIONS
 numpy: yes [version 1.9.0]
 six: yes [using six version 1.8.0]
 dateutil: yes [using dateutil version 2.2]
 tornado: yes [using tornado version 4.0.2]
 pyparsing: yes [using pyparsing version 2.0.2]
 pycxx: yes [Couldn't import. Using local copy.]
 libagg: yes [pkg-config information for 'libagg' could
not
 be found. Using local copy.]
 freetype: no [Requires freetype2 2.4 or later. Found
 2.3.11.]
 png: yes [version 1.2.49]
 qhull: yes [pkg-config information for 'qhull' could
not be
 found. Using local copy.]
 
 OPTIONAL SUBPACKAGES
 sample_data: yes [installing]
 toolkits: yes [installing]
 tests: yes [using nose version 1.3.4 / mock is required
to
 run the matplotlib test suite. pip/easy_install
may
 attempt to install it after matplotlib.]
 toolkits_tests: yes [using nose version 1.3.4 / mock is required
to
 run the matplotlib test suite. pip/easy_install
may
 attempt to install it after matplotlib.]
 
 OPTIONAL BACKEND EXTENSIONS
 macosx: no [Mac OS-X only]
 qt5agg: no [PyQt5 not found]
 qt4agg: no [PyQt4 not found]
 pyside: no [PySide not found]
 gtk3agg: no [Requires pygobject to be installed.]
 gtk3cairo: no [Requires cairocffi or pycairo to be
installed.]
 gtkagg: no [Requires pygtk]
 tkagg: no [TKAgg requires Tkinter.]
 wxagg: no [requires wxPython]
 gtk: no [Requires pygtk]
 agg: yes [installing]
 cairo: no [cairocffi or pycairo not found]
 windowing: no [Microsoft Windows only]
 
 OPTIONAL LATEX DEPENDENCIES
 dvipng: no
 ghostscript: yes [version 8.70]
 latex: yes [version 3.141592]
 pdftops: no
 
 
============================================================================
 * The following required packages can not be
built:
 * freetype
 Complete output from command python setup.py egg_info:
 
============================================================================
Edit setup.cfg to change the build options
BUILDING MATPLOTLIB
 matplotlib: yes [1.4.0]
 python: yes [2.7.5 (default, Sep 15 2014, 17:30:20) [GCC
 4.8.2 20140120 (Red Hat 4.8.2-16)]]
 platform: yes [linux2]
REQUIRED DEPENDENCIES AND EXTENSIONS
 numpy: yes [version 1.9.0]
 six: yes [using six version 1.8.0]
 dateutil: yes [using dateutil version 2.2]
 tornado: yes [using tornado version 4.0.2]
 pyparsing: yes [using pyparsing version 2.0.2]
 pycxx: yes [Couldn't import. Using local copy.]
 libagg: yes [pkg-config information for 'libagg' could not
 be found. Using local copy.]
 freetype: no [Requires freetype2 2.4 or later. Found
 2.3.11.]
 png: yes [version 1.2.49]
 qhull: yes [pkg-config information for 'qhull' could not be
 found. Using local copy.]
OPTIONAL SUBPACKAGES
 sample_data: yes [installing]
 toolkits: yes [installing]
 tests: yes [using nose version 1.3.4 / mock is required to
 run the matplotlib test suite. pip/easy_install may
 attempt to install it after matplotlib.]
 toolkits_tests: yes [using nose version 1.3.4 / mock is required to
 run the matplotlib test suite. pip/easy_install may
 attempt to install it after matplotlib.]
OPTIONAL BACKEND EXTENSIONS
 macosx: no [Mac OS-X only]
 qt5agg: no [PyQt5 not found]
 qt4agg: no [PyQt4 not found]
 pyside: no [PySide not found]
 gtk3agg: no [Requires pygobject to be installed.]
 gtk3cairo: no [Requires cairocffi or pycairo to be installed.]
 gtkagg: no [Requires pygtk]
 tkagg: no [TKAgg requires Tkinter.]
 wxagg: no [requires wxPython]
 gtk: no [Requires pygtk]
 agg: yes [installing]
 cairo: no [cairocffi or pycairo not found]
 windowing: no [Microsoft Windows only]
OPTIONAL LATEX DEPENDENCIES
 dvipng: no
 ghostscript: yes [version 8.70]
 latex: yes [version 3.141592]
 pdftops: no
============================================================================
 * The following required packages can not be built:
 * freetype
----------------------------------------
Cleaning up...
Command python setup.py egg_info failed with error code 1 in
/tmp/pip_build_root/matplotlib
Storing debug log for failure in /root/.pip/pip.log
ec2-user@ip-172-31-15-87 root]$
From: Nicolas P. R. <Nic...@in...> - 2014年09月27日 09:02:51
Now in Nature as well:
http://www.nature.com/news/how-to-dodge-the-pitfalls-of-bad-illustrations-1.15999
Nicolas
> 
> Hi all,
> 
> I'm very pleased to announce the publication of a paper I've written with Michael Droettboom and Philip E. Bourne.
> 
> Ten Simple Rules for Better Figures
> Nicolas P. Rougier, Michael Droettboom, Philip E. Bourne
> PLOS Computational Biology
> URL: http://www.ploscompbiol.org/article/info:doi/10.1371/journal.pcbi.1003833
> 
> 
> All the figures have been made using matplotlib and sources are available from:
> 
> https://github.com/rougier/ten-rules
> 
> We even managed to use the XKCD filter !
> Thanks a lot for this great library.
> 

Showing 3 results of 3

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