Alteryx Designer Discussions

Find answers, ask questions, and share expertise about Alteryx Designer.

PYTHON TOOL - Graphic Outputs

WSDATA
7 - Meteor

We are feeding data from Alteryx into the Python tool for modeling and evaluation.

 

There are several libraries that generate fantastic plots/graphics that we would like to output to an anchor and utilize later in the workflow.

 

We need help understanding how to get charts / plots that are generated within the Python notebook to output back into the workflow.

 

If that is not possible then is there a workaround where we can save plots / graphics to disk and then reimport them later in the workflow?

 

Thanks in advance for any help!

3 REPLIES 3
IraWatt
16 - Nebula

Hey @WSDATA, currently I believe you can only output data frames from the Python output. The two options I can see are:

One save the charts as PNG or some other format depending on what libraries your using to make the plots.

Or two convert the plots to a HTML format and output them in a data frame to the Alteryx workflow for later use. 

CarliE
Alteryx
Alteryx

Hi @WSDATA,

 

Take a look at this post, it may be helpful for what you are trying to do!

https://community.alteryx.com/t5/Data-Science/Plot-Twist-Using-the-Python-Tool-for-Plotting/ba-p/584...

 

If you found this solved your issue, please mark this as a solution. 

 

Thanks!

Carli
WSDATA
7 - Meteor

Thank you both for the feedback!  Ended up using a mix of images and HTML exported from Python to local folder.   

Labels