[Feature Request] Unify argument style
of LineSeries::new
and DashedLineSeries::new
#666
Labels
style
of LineSeries::new
and DashedLineSeries::new
#666
What is the feature?
Currently,
LineSeries::new
andDashedLineSeries::new
have different signature ofstyle
:I suggest adjusting the latter to:
(Optional) Why is this feature useful, and how would people use the feature?
Some other series share the same signature with
LineSeries::new
:This FR lets users expect a similar API when using
DashedLineSeries
.(Optional) Additional Information
This will cause a breaking if the user previously passes
some_style.into()
toDashedLineSeries::new
, which will get an error from rustc (type annotations needed cannot satisfy_: Into<ShapeStyle>
).The text was updated successfully, but these errors were encountered: