arctichoke.plot.save_hvplots ============================ .. py:module:: arctichoke.plot.save_hvplots Functions --------- .. autoapisummary:: arctichoke.plot.save_hvplots.save_hvplot arctichoke.plot.save_hvplots.html_to_png Module Contents --------------- .. py:function:: save_hvplot(hvplot_to_save, save_as: str) Save an `hvplot` to file. Save the given `hvplot` as either an `html` or `png` file in the `outputs/` directory. :param hvplot_to_save: The `hvplot` object to save to file. :type hvplot_to_save: A type of `hvplot` object :param save_as: The file path within the `outputs/` directory to which to save the plot. Must end in either `.html` or `.png`. :type save_as: `str` :rtype: None .. rubric:: Examples >>> .. py:function:: html_to_png(html_filename: str, png_filename: str = None) Save an `html` `hvplot` as a `png`. Load a previously-saved `html` format plot from `hvplot`, launch a headless browser in which to load it, take a screenshot, and save it to a `png` file. :param html_filename: The file path within the `outputs/` directory to the `html` file of the `hvplot`. :type html_filename: `str` :param png_filename: The file path within the `outputs/` directory to which to save the `png` image, or `None`. :type png_filename: `str`, `None`, optional :rtype: None .. rubric:: Examples >>>