in chartify/_core/plot.py [0:0]
def _get_plot_class(cls, x_axis_type, y_axis_type):
if x_axis_type == "categorical" and y_axis_type == "categorical":
return PlotCategoricalXY
elif x_axis_type not in ("categorical", "density") and y_axis_type not in (
"categorical",
"density",
):
return PlotNumericXY
elif x_axis_type == "density" and y_axis_type == "density":
return PlotDensityXY
elif x_axis_type == "datetime" and y_axis_type == "density":
raise NotImplementedError("Plot for this axis type combination not yet implemented.")
elif x_axis_type == "density" or y_axis_type == "density":
return PlotNumericDensityXY
else:
return PlotMixedTypeXY