Skip to content

fix issue related to add plotly themes (addtheme functionality) #407

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

Merged
merged 1 commit into from
Oct 12, 2021

Conversation

gilbertogalvis
Copy link
Contributor

This PR fix issues related to addtheme.

I share results bellow:

plotly_dark theme

x = randn(10000,1);
h = histogram(x);
f = fig2plotly(gcf, 'open', false);

addtheme(f, 'plotly_dark');
response = plotlyoffline(f);

web(response, '-browser');

Screen Shot 2021-10-12 at 12 12 57 PM

ggplot2 theme

addtheme(f, 'ggplot2');
response = plotlyoffline(f);

web(response, '-browser');

Screen Shot 2021-10-12 at 12 13 40 PM

seaborn theme

addtheme(f, 'seaborn');
response = plotlyoffline(f);

web(response, '-browser');

Screen Shot 2021-10-12 at 12 14 28 PM

plotly_white theme

addtheme(f, 'plotly_white');
response = plotlyoffline(f);

web(response, '-browser');

Screen Shot 2021-10-12 at 12 15 50 PM

@gilbertogalvis gilbertogalvis merged commit 5318b66 into master Oct 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants