Calls Python, saves the python script and figure, and shows the plot window # Input `figure_path` -- may be a String, &str, or Path # Notes 1. You may want to call [Plot::set_show_errors()] to enable the display of Python errors (if any) 2. This function will also save a figure as [Plot::save()] does
(&self, figure_path: &S)
| 249 | /// display of Python errors (if any) |
| 250 | /// 2. This function will also save a figure as [Plot::save()] does |
| 251 | pub fn show<S>(&self, figure_path: &S) -> Result<(), StrError> |
| 252 | where |
| 253 | S: AsRef<OsStr> + ?Sized, |
| 254 | { |
| 255 | self.run(figure_path, true) |
| 256 | } |
| 257 | |
| 258 | /// Calls Python, saves the python script and figure, and shows the result in a Jupyter notebook |
| 259 | /// |