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
Hi,
I cannot run some of the example code in plotly.rs.book. I find all the .title(Title::new("balabala") should be adjusted to .title(Title::with_text("balabala") in order to run the examples successfully.
Besides, .side(Side::Right), must be adjusted to .side(AxisSide::Right), too.
The text was updated successfully, but these errors were encountered:
Hi @wangjiawen2013 . Good catch!
Indeed, latest release has changed the API to allow passing all sorts of strings to title(s). We've missed the examples in the book.
Hi,
I cannot run some of the example code in plotly.rs.book. I find all the
.title(Title::new("balabala")
should be adjusted to.title(Title::with_text("balabala")
in order to run the examples successfully.Besides,
.side(Side::Right),
must be adjusted to.side(AxisSide::Right),
too.The text was updated successfully, but these errors were encountered: