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
Currently plot sumtypes XType and YType correspondingly represent values of the X and Y axis have definition []f64 | []string. These sumtypes also should support []int type
Use Case
For example, Is V still fast? values are ints, and when someone wants to use it for plot they need to be converted to []f64 which adds complexity to the code and hits performance.
Proposed Solution
type AxisType = []f64 | []string | []int
pub type XType = AxisType
pub type YType = AxisType
Describe the feature
Currently
plot
sumtypesXType
andYType
correspondingly represent values of the X and Y axis have definition[]f64 | []string
. These sumtypes also should support[]int
typeUse Case
For example, Is V still fast? values are ints, and when someone wants to use it for plot they need to be converted to
[]f64
which adds complexity to the code and hits performance.Proposed Solution
Other Information
No response
Acknowledgements
Version used
6904d72
Environment details (OS name and version, etc.)
Not related
The text was updated successfully, but these errors were encountered: