diff --git a/example/quarto/demo.qmd b/example/quarto/demo.qmd index 2074d1a..40047ec 100644 --- a/example/quarto/demo.qmd +++ b/example/quarto/demo.qmd @@ -13,9 +13,6 @@ import matplotlib.pyplot as plt import maidr import seaborn as sns -# Avoid duplicate of the plot by turning off plt interactive mode -plt.ioff() - # Load the penguins dataset penguins = sns.load_dataset("penguins") @@ -46,7 +43,7 @@ petal_lengths = iris["petal_length"] plt.figure(figsize=(10, 6)) hist_plot = sns.histplot(petal_lengths, kde=True, color="blue", binwidth=0.5) -plt.title("Histogram of Petal Lengths in Iris Dataset") +plt.title("Petal Lengths in Iris Dataset") plt.xlabel("Petal Length (cm)") plt.ylabel("Frequency") @@ -74,7 +71,7 @@ line_plot = sns.lineplot( style="day", legend=False, ) -plt.title("Line Plot of Tips vs Total Bill (Thursday)") +plt.title("Tips vs Total Bill (Thursday)") plt.xlabel("Total Bill") plt.ylabel("Tip") @@ -92,7 +89,7 @@ glue = sns.load_dataset("glue").pivot(index="Model", columns="Task", values="Sco # Plot a heatmap plt.figure(figsize=(10, 8)) heatmap = sns.heatmap(glue, annot=True, fill_label="Score") -plt.title("Heatmap of Model Scores by Task") +plt.title("Model Scores by Task") # Show the plot # plt.show()