in chartify/examples.py [0:0]
def _interval_example2(avg_price_with_interval):
"""# Plot the data ordered by the numerical axis"""
ch = chartify.Chart(blank_labels=True, x_axis_type="categorical")
ch.set_title("Combined interval plot & bar plot")
ch.plot.bar(
data_frame=avg_price_with_interval,
categorical_columns="fruit",
numeric_column="mean",
)
ch.plot.interval(
data_frame=avg_price_with_interval,
categorical_columns="fruit",
lower_bound_column="lower_ci",
upper_bound_column="upper_ci",
)
ch.show(_OUTPUT_FORMAT)