Skip to content

Adding wordclud to work with fig2plotly #368

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
Sep 3, 2021

Conversation

gilbertogalvis
Copy link
Contributor

This PR add wordcloud to fig2plotly. Previously wordcloud was not implemented in fig2plotly.

This updated code was tested with all examples in https://github.com/plotly/ssim_baselines/tree/main/matlab/code-examples/data-distribution-plots/wordcloud. If you want to test please use one of those examples.

attach bellow one example:

load sonnetsTable
head(tbl);
figure
wordcloud(tbl,'Word','Count');
title("Sonnets Word Cloud");

f = fig2plotly(gcf, 'offline', 0);

Results for all examples in https://github.com/plotly/ssim_baselines/tree/main/matlab/code-examples/data-distribution-plots/wordcloud are show bellow

Screen Shot 2021-09-03 at 1 32 35 PM

Screen Shot 2021-09-03 at 1 33 10 PM

Screen Shot 2021-09-03 at 1 33 56 PM

Screen Shot 2021-09-03 at 1 34 19 PM

Screen Shot 2021-09-03 at 1 38 46 PM

Links to chart-studio:
https://chart-studio.plotly.com/~galvisgilberto/3888/#/
https://chart-studio.plotly.com/~galvisgilberto/3890/#/
https://chart-studio.plotly.com/~galvisgilberto/3894/#/
https://chart-studio.plotly.com/~galvisgilberto/3896/#/
https://chart-studio.plotly.com/~galvisgilberto/3898/#/

@gilbertogalvis gilbertogalvis merged commit b89336d into master Sep 3, 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