mcstasscript.interface.functions.name_plot_options

mcstasscript.interface.functions.name_plot_options

mcstasscript.interface.functions.name_plot_options(name, data_list, **kwargs)

” name_plot_options passes keyword arguments to dataset with certain name in given data list

Function for quickly setting plotting options on a certain dataset n a larger list of datasets

Parameters
  • name (string) – Name of the dataset to be modified (component_name)

  • data_list (List of McStasData instances) – List of datasets to search

  • kwargs (keyword arguments) – Keyword arguments passed to set_plot_options in McStasPlotOptions