From: Philippe C. <phi...@gm...> - 2010-03-18 12:01:15
|
Hello, the following will display a figure with a plot. the figure will embed the classic toolbar. import matplotlib.pyplot as plt import numpy as np x=np.arange(0, 1, 0.1) fig = plt.figure() ax = fig.add_subplot(111) ax.plot(x) plt.show() from there, is it possible to add new buttons to the toolbar ? with new fonction ? or do I have to embed everythong in wxPython, GTK or others ? thank you, Philippe |