vastorbit.machine_learning.vast.preprocessing.OneHotEncoder.get_plotting_lib¶
- OneHotEncoder.get_plotting_lib(class_name: str | None = None, chart: PlottingBase | TableSample | Axes | mFigure | Figure | None = None, matplotlib_kwargs: dict | None = None, plotly_kwargs: dict | None = None, style_kwargs: dict | None = None) tuple[~typing.Literal[<module 'vastorbit.plotting._matplotlib' from '/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/vastorbit/plotting/_matplotlib/__init__.py'>, <module 'vastorbit.plotting._plotly' from '/Library/Frameworks/Python.framework/Versions/3.14/lib/python3.14/site-packages/vastorbit/plotting/_plotly/__init__.py'>], dict]¶
Returns the first available library (Plotly, Matplotlib) to draw a specific graphic. If the graphic is not available for a library, function tries the next plotting library. The style applied to the graphic corresponds to the input style. The final graphic is drawn using the input ‘chart’ object.