Skip to content

Utils

Source

Plotting utility functions.

get_plot_file_path(save_path, file_name)

Get the file path for saving a plot.

Parameters:

  • save_path (Path | str) –

    The directory or file path where the plot should be saved.

  • file_name (str) –

    The name of the file to save the plot as.

Returns:

  • Path –

    The full file path for saving the plot.