From 8623a3ddfb1ba9e47b489374857400c21e98cf3f Mon Sep 17 00:00:00 2001 From: Quarto GHA Workflow Runner Date: Sat, 21 Dec 2024 03:25:55 +0000 Subject: [PATCH] Built site for gh-pages --- .nojekyll | 2 +- examples.html | 1749 +++++++++++------ .../figure-html/cell-6-output-2.png | Bin 89836 -> 39386 bytes .../figure-html/cell-7-output-2.png | Bin 0 -> 89836 bytes index.html | 50 +- search.json | 4 +- sitemap.xml | 10 +- 7 files changed, 1181 insertions(+), 634 deletions(-) create mode 100644 examples_files/figure-html/cell-7-output-2.png diff --git a/.nojekyll b/.nojekyll index 830f92e..a38087b 100644 --- a/.nojekyll +++ b/.nojekyll @@ -1 +1 @@ -ab3ae265 \ No newline at end of file +913096d1 \ No newline at end of file diff --git a/examples.html b/examples.html index da909e9..93a5de7 100644 --- a/examples.html +++ b/examples.html @@ -167,6 +167,7 @@

On this page

  • Histogram
  • Line Plot
  • Heat Map
  • +
  • Box Plot
  • Scatter Plot
  • Reactive Dashboard @@ -213,7 +214,7 @@

    Example Gallery

    Simply import the maidr package and use the maidr.show() function to display your plots. maidr will automatically generate accessible versions of your plots in your default browser. You can then interact with the accessible versions using keyboard shortcuts (refer to Table 1).

    Bar Plot

    -
    +
    import matplotlib.pyplot as plt
     import seaborn as sns
     
    @@ -240,7 +241,7 @@ 

    Bar Plot

    # Use maidr.show() to display your plot maidr.show(bar_plot)
    - +
    +
    +
    +
    +

    Box plot of petal length by species from the Iris dataset

    +
    +
    +
    +
    +

    Scatter Plot

    -
    -
    import matplotlib.pyplot as plt
    -import seaborn as sns
    -
    -import maidr 
    -
    -# Create a scatter plot
    -scatter_plot = sns.scatterplot( 
    -    data=iris, x="sepal_length", y="sepal_width", hue="species"
    -)
    -
    -# Adding title and labels (optional)
    -plt.title("Iris Sepal Length vs Sepal Width")
    -plt.xlabel("Sepal Length")
    -plt.ylabel("Sepal Width")
    -
    -# Show the plot
    -# plt.show()
    -maidr.show(scatter_plot) 
    +
    +
    import matplotlib.pyplot as plt
    +import seaborn as sns
    +
    +import maidr 
    +
    +# Create a scatter plot
    +scatter_plot = sns.scatterplot( 
    +    data=iris, x="sepal_length", y="sepal_width", hue="species"
    +)
    +
    +# Adding title and labels (optional)
    +plt.title("Iris Sepal Length vs Sepal Width")
    +plt.xlabel("Sepal Length")
    +plt.ylabel("Sepal Width")
    +
    +# Show the plot
    +# plt.show()
    +maidr.show(scatter_plot) 
    -