Ionizing

Results 11 comments of Ionizing

> @Ionizing , does PR #155 made by @tectin0 fix your problem? Hi, thanks for the reply and PR. I'm busy working on other things these weeks. I'll try it...

# Migration done Hi, I just migrated to the latest plotly.rs (v0.9.0) without much effort. Thanks for the job. The implementation of `Color` trait on `String` helped a lot, which...

Thanks for the advice. I'll try it later.

Okay, would it possible to add a special hint to the document (Rhai book) to clarify this feature, in case someone else would come across this behaviour in the future...

> [It's documented pretty well.](https://rhai.rs/book/engine/precedence.html) I can confirm it differs from popular scripting languages, but Rust doesn't have the operator so it doesn't differ from Rust. Well, I know that...

It seems that the `"responsive": true` is missing in the latest `plotly.rs`. The redraw function will work if `"config": {}` is rewrote as `"config": { "responsive": true }`. This correction...

Finally get the redraw work by adding these lines to the tail of html: ```javascript function resizeGraph() { Plotly.relayout("plotly-html-element", { width: window.innerWidth, height: window.innerHeight }); } window.addEventListener('resize', resizeGraph); resizeGraph(); ```...

I just [added this function to `templates/plot.html`](https://github.com/plotly/plotly.rs/commit/5e5af76b95c1093d5b0523c9800927178c3245ec). I don't think it is an elegant patch but if it does solves the problem without breaking anything else, I'd like to open...

> > [...] > > However, the height of the plot is still fixed to some value and cannot fit the height of the window. > > I managed to...

I'm not sure how to tweak it since I have no idea on how to reproduce it. If you want a quick response, please provide an MWE (minimal working example)...