Open
Description
Reproducible Steps
-
Download the required csv dataset from here: https://github.com/xability/a11y_ds_course/blob/main/data/gapminder.csv
-
Execute the following code within Python repl:
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt
import maidr
gapminder = pd.read_csv('gapminder.csv')
# Scatter Plot of GDP per capita vs population
plt.figure(figsize=(10, 6))
gdp_pop_plot = sns.scatterplot(data=gapminder, x="pop", y="gdpPercap", hue="continent")
plt.title("GDP per Capita vs Population by Continent")
plt.xlabel("Population")
plt.ylabel("GDP per Capita")
plt.show()
maidr.show(gdp_pop_plot)
-
Tab to focus in the interactive maidr plot area.
-
Use autoplay (Ctrl+Shift+RightArrow) and see if that works.
Current Behavior
Autoplay does not work.