Winviz.exe does not "finish". (Pylab problem)
Hi, I am using the following simple script to demonstrate the problem. Winviz.exe does not close from the task manager after I trigger the makeachart() by keypressing 1.
However, the same does not happen if I execute the function directly, instead of calling it through vizact.onkeydown('1', makeachart, "file.png"). Am I doing something wrong? Thanks. import wx |
This problem was surprisingly easy to solve... all I did was:
import matplotlib matplotlib.use('Agg') Thank you |
All times are GMT -7. The time now is 02:05 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC