polars.LazyFrame.show_graph

LazyFrame.show_graph(optimized: bool = True, show: bool = True, output_path: Optional[str] = None, raw_output: bool = False, figsize: Tuple[float, float] = (16.0, 12.0)) Optional[str]

Show a plot of the query plan. Note that you should have graphviz installed.

Parameters
optimized

Optimize the query plan.

show

Show the figure.

output_path

Write the figure to disk.

raw_output

Return dot syntax. This cannot be combined with show

figsize

Passed to matlotlib if show == True.