On 12.11.2015 01:42, Evangelos Petsalis wrote: > I am trying to utilize some of the functionality that pyplot provides to > display some data related to the graph, but on a separate window. > > The problem I have is that the pyplot window that pops up is uncontrollable, > in other words I can not utilize any of the default buttons, or even close > it. > > The code I use is very simple: > plt.ion() > fig = plt.figure() > ax = self.fig.add_subplot(111) > x = np.random.normal(0,1,1000) > numBins = 50 > ax.hist(x,numBins,color='green',alpha=0.8) > > Any ideas what is going on? Can it be that Gtk and pyplot don't work well > together?
I'm not sure what this hast to do with graph-tool. Do things work as expected when you do not import graph-tool? Best, Tiago -- Tiago de Paula Peixoto <[email protected]>
signature.asc
Description: OpenPGP digital signature
_______________________________________________ graph-tool mailing list [email protected] http://lists.skewed.de/mailman/listinfo/graph-tool
