Skip to content

fix issue related to bar functionality #410

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 13, 2021

Conversation

gilbertogalvis
Copy link
Contributor

Description of the issue

I'm trying a grouped bar plot:

clear all;close all;

x = categorical({'Apples', 'Oranges', 'Bananas'});
y = [2 2 3; 2 5 6; 2 8 9; 2 11 12];
bar(x,y)
shg

fig = fig2plotly(gcf, 'offline', true, 'open', false,'Visible',false);

response = plotlyoffline(fig);

web(response, '-browser');

When showing the image with shg shows the correct plot, but fig2plotly shows clear axes.
I think there is some issue with categorical variables?
Screen Shot 2021-10-13 at 11 15 31 AM

Issue fixed

This PR fix the previous explained issue. So Using the example code we can get following

Screen Shot 2021-10-13 at 10 56 09 AM

@gilbertogalvis gilbertogalvis merged commit ac0aaa1 into master Oct 13, 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