AnsweredAssumed Answered

Display a Matplotlib graph in a Web Application

Question asked by l.dedry on Oct 2, 2019



I am writing a python script that generates a graph. I am using matplotlib.pyplot and the function "show()" to display the result. In ArcGIS Pro, when I run the script I get the result in a popup window (see image below). That's fantastic !

Then, I published this python script as a Web Tool on my portal.

From the Web App Builder, I created a "Geoprocessing" widget and set the url to this web tool.

However when I launch the widget, the result is not displayed like in ArcGIS Pro.

Does anyone know how I could get a result similar to that of ArcGIS Pro (a popup window) ?


Thank you !