Icon

03_​Visualizing_​Subplots_​using_​Matplotlib_​package

Visualization of subplots

This workflow demonstrates the use of matplotlib library to visualise subplots using Python Script node.

The subplots created in this workflow are Histogram and Scatter plot of different numerical column from the iris data set.

Configure the Python Script node for visualisationsThe Python Script node can be provide with a table or an object as inputport and it can output a table, object or an image based on the user'sselection of portsStep 1: Drag the Python Script node to KNIME Analytics PlatformStep 2: Click on the three dots on the node to add an image output portStep 3: Write your script in the "Script" tab and import the matplotlibpackage to create sub plots. Press "execute script" to check if the executionwas successful. Adopting Python Bundled Packages : Download and open this workflow to auto-install requirements and execute the Python scripts. This workflow uses a node from KNIMEPython Integration, which installs Python and a number of pre-defined packages on your system. Supported on KNIME Analytics Platform4.7 or higher. Use the matplotlib package to create Subplot visualization Iris DataFilter Numerical columnsView the Image Python Script CSV Reader Column Filter Image Output Widget Configure the Python Script node for visualisationsThe Python Script node can be provide with a table or an object as inputport and it can output a table, object or an image based on the user'sselection of portsStep 1: Drag the Python Script node to KNIME Analytics PlatformStep 2: Click on the three dots on the node to add an image output portStep 3: Write your script in the "Script" tab and import the matplotlibpackage to create sub plots. Press "execute script" to check if the executionwas successful. Adopting Python Bundled Packages : Download and open this workflow to auto-install requirements and execute the Python scripts. This workflow uses a node from KNIMEPython Integration, which installs Python and a number of pre-defined packages on your system. Supported on KNIME Analytics Platform4.7 or higher. Use the matplotlib package to create Subplot visualization Iris DataFilter Numerical columnsView the Image Python Script CSV Reader Column Filter Image Output Widget

Nodes

Extensions

Links