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


Showing 2 results of 2

From: John H. <jd...@gm...> - 2008年01月01日 14:51:07
On Dec 30, 2007 12:33 PM, Ondrej Certik <on...@ce...> wrote:
> We should have gotten involved more in matplotlib development earlier,
> but at least now. I think there should be just one 3D plotting
> library in Python and imho matplotlib should do it. However, we need:
Hi Ondrej,
Sorry for the delay getting back to you. I've been on holiday so have
only limited email access.
> * it should be pure python
> * fast and interactive 3D stuff
> * needs to work out of the box on linux, mac os x, windows (without compilation)
We have long wanted limited 3D capability in matplotlib, and as you
know we have some functionality in the axes3d classes but it has
proven to be extremely slow, and somewhat buggy, and the original
author has moved on to other things so it is mostly unsupported. We
would be very excited if there was some way to incorporate your work
using pyglet, which is very nice.
matplotlib started out life as pure python, and for several release
cycles remained that way. A that time, there were two backends, GTK
and PS, so there is no reason in principle that matplotlib needs to
have extension code. Over time, we have evolved a considerable amount
of extension code, which Michael outlined for you, but it generally
falls into two classes:
 * access 3rd party C/C++ (Agg, freetype and libpng)
 * make matplotlib go faster (image, transforms, other helpers)
A big chunk of extension code was removed in Michael's recent
refactoring of transforms, and it is possible and desirable to remove
more. Eg, we should be able to replace ft2font with a ctypes wrapper,
though I have never experimented with this.
While I think reducing the amount of extension code is useful and
desirable, the complete eradication of it is unlikely, and would
result in a matplotlib with limited functionality. Michael
mentioned a few of these areas, but contouring and image support make
heavy use of extension code that would be difficult to do in python.
Also, we depend very heavily numpy, so even if matplotlib were pure
python, it would depend on numpy which is not. And that dependency is
at the core of matplotlib.
I tend to agree with Michael: our effort would be better spent
identifying the areas that make compilation problematic than trying to
remove all extension code. For the most part, these difficulties
arise from depending on 3rd party C/C+ code at compile time (eg a GUI
toolkit or libpng or freetype). I would love to find a way to remove
all these compile time dependencies.
> Another cool stuff in matplotlib is the pure python latex renderer
> (/matplotlib-0.91.1/lib/matplotlib/mathtext.py). See our issue for
> more info:
Yes, the mathtext support in matplotlib is very nice, and Michael
deserves the credit for taking from a package that
works but has warts, to an extremely nice math layout engine using the
Knuth algorithms. I'm sure others would like to use it without having
to pull in all of matplotlib. With a ctypes freetype wrapper, it
should be possible to build a free-standing mathtext.
JDH
From: Michael D. <md...@st...> - 2008年01月01日 03:51:48
I'm off with family for the holidays, so my response will have to be somewhat 
brief. 
I'm excited about the ideas you bring up... I first heard about sympy at SciPy 
and was very impressed. Let's try to collaborate in any way possible. I know 
that "3D in matplotlib" already has some history of which I'm not aware, so I'll 
leave that for others to comment on.
As for the C++ dependencies, Agg is a pretty strong one. Yes, it is possible to 
do rendering with Gtk or Wx alone, but it's not very pretty (no-aa). Gtk/Cairo is 
a good high-quality combination, but it (at least currently) leaves out all the 
other GUI frameworks, and is not BSD-like licensed. The other important 
C/C++ requirement is matplotlib's interface to freetype (FT2Font). That would 
be really painful to reimplement in pure Python -- freetype is a complex and 
mature piece of software. In the trunk, there is a required framework for 
transformations, and in the "transforms branch" there is a framework for 
polycurve manipulations, both of which are required to do any plotting. Those 
would have a major performance penalty going to Python, and even 
notwithstanding, are non-trivial bits of code to reimplement. Beyond that, there 
are utilities for contours and images etc., which are reasonably optional but 
people use all the time. In short, there's a not of C/C++ in the core of 
matplotlib -- maybe the time would be better spent resolving any build issues 
that make portability difficult...? I'm not sure it's realistic to expect matplotlib to 
be pure Python at this point without losing a lot of features, but I agree it would 
be nice...
As for the mathtext Python math rendering engine, it isn't *really* pure Python. 
It relies on matplotlib's interface to Freetype. Ideally, it would be nice to have a 
general-purpose Python interface to freetype (I know the PyCairo folks are 
wanting such a thing), and then the mathtext engine could use that. 
Unfortunately, the existing freetype wrapper in matplotlib is very incomplete 
and pretty tied to matplotlib-specific ways of doing things. IMHO, you wouldn't 
really gain much by releasing FT2Font as a separate project unless it were 
generalized. I've sort of gone into a holding pattern, hoping someone else will 
release a Python freetype wrapper that matplotlib could use... Alternatively, the 
dependency on freetype could be removed by extracting and hardcoding all the 
font metrics from the math fonts into Python dictionaries etc. -- but then of 
course it would only work with a fixed set of fonts. This is what jsMath, (a 
pure-Javascript math rendering engine) does, for instance.
With the exception of that issue, removing the mathtext engine from matplotlib 
should be possible, and I think it's a great idea. There are some matplotlib-
specific bits mixed in there, but they should be reasonably straightforward to 
factor out. It already has support for rendering math to an in-memory image 
bitmap, which has been used for displaying math on GUI widgets, for example.
Anyway -- cool ideas. Let's keep up the discussion.
Cheers,
Mike

Showing 2 results of 2

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