You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using dates as axis labels in the format mm/dd/yy, and I'm storing them as a char array, i.e.:
val =
5/26/18
2/26/18
1/26/18
fig2plotly (offline and online) breaks trying to escape the strings this kind of char array. Seems that this particular case isn't accounted for in charescape(). Using a cell array of strings works normally.
I think a simple fix for this would be to simply check if you have a char array with >1 column, use cellstr(), and continue as normal. Screenshots below.