in chartify/examples.py [0:0]
def _heatmap_example_1(average_price_by_fruit_and_country):
"""Docstring"""
# Plot the data
(
chartify.Chart(blank_labels=True, x_axis_type="categorical", y_axis_type="categorical")
.plot.heatmap(
data_frame=average_price_by_fruit_and_country,
x_column="fruit",
y_column="country",
color_column="total_price",
text_column="total_price",
text_color="white",
)
.axes.set_xaxis_label("Fruit")
.axes.set_yaxis_label("Country")
.set_title("Heatmap")
.set_subtitle("Plot numeric value grouped by two categorical values")
.show(_OUTPUT_FORMAT)
)