Closed homosapien-lcy closed 1 year ago
close issue #846
@homosapien-lcy as next step, we discussed:
Array
traitUnion
(and verify that as Mark suggests, it's not needed to add the Int
trait in the Union
)With Corran's comments, after discussing with Didrik, we think:
1 the "error" that the user reported in #846 is actually the expected behavior of the test, thus there is no need to change the scatterplot class to enable different types of inputs 2 the confusion comes from the fact that in chaco/examples/demo/basic/scatter_1d, a line "# randint(1,5, numpts)," is commented out in line 78, suggesting the users that the input may be an array of integers.
With the above observations, we decided to simply delete the commented out line mentioned in 2 to avoid confusion as the solution to the issue closes #846
The ScatterPlot1D specifies marker_size = Float(4.0) while the downstream render_markers function is supposed to handle both single numeric data and arrays. This PR changes this.
Address #846