in chartify/_core/plot.py [0:0]
def _set_numeric_axis_default_format(self, data_frame, x_column=None, y_column=None):
"""Set numeric axis range based on the input data."""
if isinstance(self._chart.axes, NumericalXMixin):
# Warn user if they try to plot date data on a non-datetime axis.
if data_frame[x_column].dtype == "datetime64[ns]":
raise ValueError(
"""Set chartify.Chart(x_axis_type='datetime')
when plotting datetime data."""
)
# Warn user if they try to plot date data that hasn't been cast
# to the proper dtype.
elif data_frame[x_column].dtype == "O":
raise ValueError(