ArcGIS 10.2 ships with MatPlotLib 1.1.1 installed. I am trying to display a non-blocking plot window.
Launch an interactive plot in a Tk window from a toolbox. This causes the plot to display and the toolbox dialog continues to run in the foreground.
import matplotlib.pyplot as plt fig = plt.figure() plt.plot(range(10), range(10)) plt.show()
plt.show(block=False) should make the plot non-blocking. This crashes ArcMap.
Attacking this from another direction - Create a python addin-in with a single button. That button executes the above code. Also crashes ArcMap.
Is it possible to get a non-blocking MatPlotLib plot via arcpy?