[Python-modules-commits] r6866 - in packages/matplotlib/trunk/debian (3 files)
morph at users.alioth.debian.org
morph at users.alioth.debian.org
Sat Nov 8 19:34:23 UTC 2008
Date: Saturday, November 8, 2008 @ 19:34:22
Author: morph
Revision: 6866
* debian/NEWS
- added to notify users about default backend (TkAgg)
* debian/README.debian
- added information about changing backend
Added:
packages/matplotlib/trunk/debian/NEWS
Modified:
packages/matplotlib/trunk/debian/README.debian
packages/matplotlib/trunk/debian/changelog
Added: packages/matplotlib/trunk/debian/NEWS
===================================================================
--- packages/matplotlib/trunk/debian/NEWS (rev 0)
+++ packages/matplotlib/trunk/debian/NEWS 2008-11-08 19:34:22 UTC (rev 6866)
@@ -0,0 +1,10 @@
+matplotlib (0.98.3-6) UNRELEASED; urgency=low
+
+ With this release, we are setting the default backend for matplotlib to 'TkAgg',
+ the lower level of backend suggested bu upsteam.
+
+ You can find documentation about changing the backend in the file:
+
+ /usr/share/doc/python-matplotlib/README.Debian
+
+ -- Sandro Tosi <morph at debian.org> Sat, 08 Nov 2008 19:36:42 +0100
Modified: packages/matplotlib/trunk/debian/README.debian
===================================================================
--- packages/matplotlib/trunk/debian/README.debian 2008-11-08 18:06:16 UTC (rev 6865)
+++ packages/matplotlib/trunk/debian/README.debian 2008-11-08 19:34:22 UTC (rev 6866)
@@ -3,8 +3,43 @@
For various functions to work, for example
-help() -> modules
+ help() -> modules
you need to set the enviromental variable:
-export MATPLOTLIBDATA=/usr/share/matplotlib/
+ $ export MATPLOTLIBDATA=/usr/share/matplotlib/
+
+
+Change the backend
+------------------
+
+From matplotlib version 0.98.3-6 the default backend in Debian is 'TkAgg', the
+simplest backend available in most context.
+
+If you want to change it, you have to ways: system wide, changing
+
+ /etc/matplotlibrc
+
+or on a user basis, changing the file
+
+ $HOME/.matplotlib/matplotlibrc
+
+adding or changing a line like this:
+
+ backend = <backend>
+
+where <backend> can be choosen from this list:
+
+ # Default backend, one of: Agg, Cairo, CocoaAgg, GTK, GTKAgg,
+ # GTKCairo, FltkAgg, Pdf, Ps, QtAgg, Qt4Agg, SVG, TkAgg, WX, WXAgg.
+ #
+ # The Agg, Ps, Pdf and SVG backends do not require external
+ # dependencies. Do not choose GTK, GTKAgg, GTKCairo, TkAgg or WXAgg if
+ # you have disabled the relevent extension modules.
+
+so usually, you can have a backend if you have the Python bindings installed:
+
+ GTK -> python-gtk2
+ Tk -> python-tk
+ QT -> python-qt3 or python-qt4
+ WX -> python-wxgtk2.6 or python-wxgtk2.8
Modified: packages/matplotlib/trunk/debian/changelog
===================================================================
--- packages/matplotlib/trunk/debian/changelog 2008-11-08 18:06:16 UTC (rev 6865)
+++ packages/matplotlib/trunk/debian/changelog 2008-11-08 19:34:22 UTC (rev 6866)
@@ -12,6 +12,10 @@
[ Sandro Tosi ]
* debian/control
- switch Vcs-Browser field to viewsvn
+ * debian/NEWS
+ - added to notify users about default backend (TkAgg)
+ * debian/README.debian
+ - added information about changing backend
-- Benjamin Drung <benjamin.drung at gmail.com> Sat, 08 Nov 2008 00:33:36 +0100
More information about the Python-modules-commits
mailing list