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
Also I would suggest introducing an alias for labelFont - that is easy to miss a letter.
That's not going to happen, all plotly.js "data" and "layout" attributes are written in smashedtogether case with a few exceptions like error_y and error_x.
@dfcreative that's an interesting idea and I don't think it would be that hard to implement.
We could just add check for isPlainObject(attr)here in coerceFont and split family, size and color using a regex.
Now, down the road, we're planning on adding optional outline colors for fonts (see #1597) which wouldn't fit within the css font realm. So, I'm having doubts adding another attribute-value pathway.
Now to set custom font for an axis we have to pass an object to
labelfont
property:What if instead we could just use string:
Plain css
font
string would be so intuitive!Also I would suggest introducing an alias for
labelFont
- that is easy to miss a letter.The text was updated successfully, but these errors were encountered: