Comments (3)
Hi @JakeOShannessy ,
Thanks for reporting this.
This is caused by strict lifetime bounds on the dynamic elements.
And this is fixed on master, I believe. It would be nice if you can confirm this on your side.
Close it for now and feel free to reopen it if needed.
Cheers,
Hao
from plotters.
All fixed, thanks for the quick response.
from plotters.
Hi, it seems this issue has returned. When using dynamic elements (for example by calling .to_dyn() on the elements you're drawing) the `static requirement returns. I noticed because the path parameter in the ::new call to the backend needed to be a reference with `static lifetime.
from plotters.
Related Issues (20)
- [BUG] Can't outline/stroke polygon for svg HOT 1
- [BUG] example crash under centos 7.5 HOT 1
- [BUG] plotters-canvas build error
- plotters v0.3.5 has RUSTSEC-2023-0020 from font-kit v0.11.0 HOT 2
- [BUG] titled function draw text position error when generating PNG file HOT 3
- [BUG] unsafe preconditions violated HOT 14
- default font size?
- [BUG] Spacing between words removed HOT 1
- Step charts
- [BUG] 'static lifetime requirement for `ChartContext`
- pie RGBAcolor
- Warning due to use of deprecated default_features HOT 1
- [BUG] AsRangedCoord not implemented for Range<NaiveDateTime>
- Drawing 3d Voxels
- [BUG] Time for axes does not work on single day with different hours
- [Feature Request] Stroke width/outline for text in bitmap backend
- [Feature Request] stacked plots
- [Feature Request] Text bounding box
- Support clipping in `DrawingBackend`
- [BUG] `plotters` fails to compile in a workspace using chrono 0.4.31
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plotters.