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
Deleting that line didn't seem to make it work at one point. But then after tinkering around it did...so maybe I was an inconsistent state. It's compiling now, and I managed to test the Wasm demo in-browser.
(I have the main plotters library cloned locally, and I edited the Cargo.toml in the plotters-canvas to use a path = on the local drive for plotters, instead of a git =. The same change was needed in the plotters-wasm-demo's Cargo.toml.)
Activity
AE1020 commentedon Oct 5, 2022
I was just now looking at this project, trying to build the Wasm demo and got the same error...
It appears that FontTransform::RotateAngle() was reverted in July in the main plotters project, and a corresponding reversion was not made here.
The only reason that RotateAngle() was added in this repository was so that an enum covered cases exhaustively.
Deleting that line didn't seem to make it work at one point. But then after tinkering around it did...so maybe I was an inconsistent state. It's compiling now, and I managed to test the Wasm demo in-browser.
(I have the main plotters library cloned locally, and I edited the Cargo.toml in the
plotters-canvasto use apath =on the local drive for plotters, instead of agit =. The same change was needed in the plotters-wasm-demo's Cargo.toml.)I have submitted a PR to undo the RotateAngle() commit.
Note: Circa 2022 the plotters project has had a lapse in maintenance, and there is a thread about establishing new community maintainers.