[Matplotlib-users] removing a line with its label from an axes

2009-06-30 Thread Magnus Benjes
Hello, I know how to remove a line from an axes. But a I also want to remove the label of the line from the legend of the axes. In the sample code you can see two labels in the legend, while there is only one line in the axes left. import numpy as N from matplotlib.pyplot import * x =

Re: [Matplotlib-users] Python 2.6.2 installation?

2009-06-12 Thread Magnus Benjes
2009/6/12 Virgil Stokes v...@it.uu.se I am rather new to matplotlib and would appreciate help on how I can install matplotlib with Python 2.6.2 on a Windows Vista platform. You have to build it manually. Assumed you have Visual Studio 2008 installed: 1. install freetype

[Matplotlib-users] polar plot: problem with negative angles

2009-05-17 Thread Magnus Benjes
Hello, in version 0.98.5.2 the polar plot still has a problem with negativ angles. The polarplot is drawing a circle when the angle changes from negativ to positiv (e.g. from -0.01 to +0.01). But in What new in 0.98.4 (http://matplotlib.sourceforge.net/users/whats_new.html) I can read: Fix

[Matplotlib-users] Qt backend in QMdiArea

2009-05-12 Thread Magnus Benjes
. Regards Magnus Benjes import sys from PyQt4 import QtGui, QtCore import numpy import matplotlib from matplotlib.backends.backend_qt4agg import FigureCanvasQTAgg x = numpy.arange(0,10,0.1) y = x**2 qApp = QtGui.QApplication(sys.argv) mainWindowMdi = QtGui.QMainWindow