Creating Subplots Using ShowPlots() | teradatamlwidgets - Creating Subplots Using ShowPlots() - Teradata VantageCloud Lake

Lake - Analyze Your Data with ClearScape Analytics™

Deployment
VantageCloud
Edition
Lake
Product
Teradata VantageCloud Lake
Release Number
Published
February 2025
ft:locale
en-US
ft:lastEdition
2026-02-20
dita:mapPath
tcl1683670667798.ditamap
dita:ditavalPath
pny1626732985837.ditaval
dita:id
tcl1683670667798

The following examples illustrate how you can use the ShowPlots() function to create subplots (show multiple plots together) in column and grid format.

The ShowPlots() function:
  • Takes in the plots you want to display in a list
  • Uses nrows for how many rows
  • Uses ncols for how many columns
  • Uses a grid parameter to specify plot positioning

Example 1: Three plots using column format

plot.ShowPlots([plot1, plot2, plot3], nrows=1, ncols=3)

Teradataml Widgets ShowPlots() single column example

Example 2: Three plots using grid format

plot.ShowPlots([plot1, plot2, plot3], grid = {(1, 1): (1, 1), (1, 2): (1, 1), (2, 1): (1, 2)})

Teradataml Widgets ShowPlots() grid example