Graph preview in Python Toolbox

02-16-2016 12:20 PM
New Contributor

Hello, please help.

I need to create a toolbox in python, which will be used for making graphs. I need the parallel preview window during the graph creation. Half of the screen will be used for settings the parameters and the other half will be a preview that would change according to changes of parametres. Something like Create graph wizard in ArcGIS Desktop (picture below). Please if someone knows some code to split the screen, or some advices, web pages?

Thank you so much



0 Kudos
2 Replies
MVP Esteemed Contributor

There is no mention of a graphics interface for python toolboxes Comparing custom and Python toolboxes—Help | ArcGIS for Desktop

You will have to do the arcobjects thing, or if you want to stick with python, look to other libraries... MatPlotLib is the easiest and quickest to get up to speed on and It can be used with arcmap

MVP Regular Contributor

This is not possible with a python toolbox.

You would need to do this in ArcObjects if you want to stay within the ArcGIS geoprocessing/addin framework. Alternatively you could develop a standalone UI using a graphics toolkit, such as PyQT/PySide and embed a matplotlib graph. Something similar to