Skip to content

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.

3 participants