Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
SaaiVenkat opened this issue Aug 16, 2024 · 2 comments
Open

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

SaaiVenkat opened this issue Aug 16, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@SaaiVenkat
Copy link
Collaborator

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

@jooyoungseo
Copy link
Member

jooyoungseo commented Aug 16, 2024

@jooyoungseo
Copy link
Member

@ellvix Also please see @SaaiVenkat comment here: xability/py_maidr#69 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants