Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit fa3a29a

Browse files
committed
added backend_gtk2 - testing
svn path=/trunk/matplotlib/; revision=112
1 parent 4b6b9ab commit fa3a29a

3 files changed

Lines changed: 15 additions & 3 deletions

File tree

API_CHANGES

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,18 @@
11
API changes at 0.50
22

33
* refactored Figure class so it is no longer backend dependent.
4-
FigureManager takes over the backend specific duties of the
4+
FigureCanvasBackend takes over the backend specific duties of the
55
Figure. matplotlib.backend_bases.FigureBase moved to
6-
matplotlib.figure.Figure
6+
matplotlib.figure.Figure.
7+
8+
* backends must implement FigureCanvasBackend (the thing that
9+
controls the figure and handles the events if any) and
10+
FigureManagerBackend (wraps the canvas and the window for matlab
11+
interface). FigureCanvasBase implements a backend switching
12+
mechanism
13+
14+
* Figure is now an Artist (like everything else in the figure) and
15+
is totally backend independent
716

817
API changes at 0.42
918

MANIFEST

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ matplotlib/axis.py
138138
matplotlib/backend_bases.py
139139
matplotlib/cbook.py
140140
matplotlib/colormap.py
141+
matplotlib/figure.py
141142
matplotlib/legend.py
142143
matplotlib/lines.py
143144
matplotlib/matlab.py
@@ -148,7 +149,9 @@ matplotlib/transforms.py
148149
matplotlib/backends/__init__.py
149150
matplotlib/backends/backend_gd.py
150151
matplotlib/backends/backend_gtk.py
152+
matplotlib/backends/backend_gtk2.py
151153
matplotlib/backends/backend_ps.py
152154
matplotlib/backends/backend_template.py
155+
matplotlib/backends/backend_wx.orig.py
153156
matplotlib/backends/backend_wx.py
154157
test/test.py

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
data.extend(glob.glob('images/*.xpm'))
1010

1111
setup(name="matplotlib",
12-
version= '0.42.2',
12+
version= '0.50a',
1313
description = "Matlab style python plotting package",
1414
author = "John D. Hunter",
1515
author_email="[email protected]",

0 commit comments

Comments
 (0)