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
Other Information
No response
Acknowledgements
[ ] I may be able to implement this feature request
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
6904d720c50558a5d66dc97c346d9c4671213727
Environment details (OS name and version, etc.)
Not related