Display a Matplotlib graph in a Web Application

681
0
10-02-2019 02:28 AM
LaurentDedry1
New Contributor

Hello,

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 !

0 Kudos
0 Replies