Skip to content

fix(scatterplot): sonification autoplay does not work #519

Open
@SaaiVenkat

Description

@SaaiVenkat

Reproducible Steps

  1. Download the required csv dataset from here: https://github.com/xability/a11y_ds_course/blob/main/data/gapminder.csv

  2. 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)
  1. Tab to focus in the interactive maidr plot area.

  2. Use autoplay (Ctrl+Shift+RightArrow) and see if that works.

Current Behavior

Autoplay does not work.

Reference Issue

xability/py-maidr#69

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions