Call Functions from an External Language
ExternalFunction makes it easy to make functions from other languages, like Python, callable from the Wolfram Language. It is great for making functions from useful libraries available or as an interface to newly defined functions.
Start a new session.
Define a function in the session.
Create an ExternalFunction from this Python function.
Use the function within normal Wolfram Language code.
Define a Python function that creates a surface plot from an array.
Create a few interesting arrays.
Plot using the created Python function, and save an image of each.
Compare to Wolfram Language plots.