--- orphan: true --- # {py:mod}`elasticai.preprocessor._plot_helper` ```{py:module} elasticai.preprocessor._plot_helper ``` ```{autodoc2-docstring} elasticai.preprocessor._plot_helper :allowtitles: ``` ## Module Contents ### Functions ````{list-table} :class: autosummary longtable :align: left * - {py:obj}`get_textsize_paper ` - ```{autodoc2-docstring} elasticai.preprocessor._plot_helper.get_textsize_paper :summary: ``` * - {py:obj}`get_plot_color_inactive ` - ```{autodoc2-docstring} elasticai.preprocessor._plot_helper.get_plot_color_inactive :summary: ``` * - {py:obj}`get_plot_color ` - ```{autodoc2-docstring} elasticai.preprocessor._plot_helper.get_plot_color :summary: ``` * - {py:obj}`get_plot_marker ` - ```{autodoc2-docstring} elasticai.preprocessor._plot_helper.get_plot_marker :summary: ``` * - {py:obj}`cm_to_inch ` - ```{autodoc2-docstring} elasticai.preprocessor._plot_helper.cm_to_inch :summary: ``` * - {py:obj}`save_figure ` - ```{autodoc2-docstring} elasticai.preprocessor._plot_helper.save_figure :summary: ``` * - {py:obj}`extract_minmax_for_logarithmic_limits ` - ```{autodoc2-docstring} elasticai.preprocessor._plot_helper.extract_minmax_for_logarithmic_limits :summary: ``` * - {py:obj}`scale_auto_value ` - ```{autodoc2-docstring} elasticai.preprocessor._plot_helper.scale_auto_value :summary: ``` * - {py:obj}`translate_unit_to_scale_value ` - ```{autodoc2-docstring} elasticai.preprocessor._plot_helper.translate_unit_to_scale_value :summary: ``` ```` ### API ````{py:function} get_textsize_paper() -> int :canonical: elasticai.preprocessor._plot_helper.get_textsize_paper ```{autodoc2-docstring} elasticai.preprocessor._plot_helper.get_textsize_paper ``` ```` ````{py:function} get_plot_color_inactive() -> str :canonical: elasticai.preprocessor._plot_helper.get_plot_color_inactive ```{autodoc2-docstring} elasticai.preprocessor._plot_helper.get_plot_color_inactive ``` ```` ````{py:function} get_plot_color(idx: int) -> str :canonical: elasticai.preprocessor._plot_helper.get_plot_color ```{autodoc2-docstring} elasticai.preprocessor._plot_helper.get_plot_color ``` ```` ````{py:function} get_plot_marker(idx: int) -> str :canonical: elasticai.preprocessor._plot_helper.get_plot_marker ```{autodoc2-docstring} elasticai.preprocessor._plot_helper.get_plot_marker ``` ```` ````{py:function} cm_to_inch(value: float) -> float :canonical: elasticai.preprocessor._plot_helper.cm_to_inch ```{autodoc2-docstring} elasticai.preprocessor._plot_helper.cm_to_inch ``` ```` ````{py:function} save_figure(fig, path: str, name: str, formats: list = ['pdf', 'svg']) -> None :canonical: elasticai.preprocessor._plot_helper.save_figure ```{autodoc2-docstring} elasticai.preprocessor._plot_helper.save_figure ``` ```` ````{py:function} extract_minmax_for_logarithmic_limits(data: numpy.ndarray) -> tuple[float, float] :canonical: elasticai.preprocessor._plot_helper.extract_minmax_for_logarithmic_limits ```{autodoc2-docstring} elasticai.preprocessor._plot_helper.extract_minmax_for_logarithmic_limits ``` ```` ````{py:function} scale_auto_value(data: float | numpy.ndarray) -> tuple[float, str] :canonical: elasticai.preprocessor._plot_helper.scale_auto_value ```{autodoc2-docstring} elasticai.preprocessor._plot_helper.scale_auto_value ``` ```` ````{py:function} translate_unit_to_scale_value(unit_str: str, pos: int) -> float :canonical: elasticai.preprocessor._plot_helper.translate_unit_to_scale_value ```{autodoc2-docstring} elasticai.preprocessor._plot_helper.translate_unit_to_scale_value ``` ````