Update custom marker as scale_ctm expects floats#782
Conversation
|
I don't see any unittests for the |
rahulporuri
left a comment
There was a problem hiding this comment.
LGTM. Ref
enable/kiva/agg/src/kiva_compiled_path.h
Line 124 in a1a6059
I'd still like it if we could add a few tests.
👍 I've added 2 regression tests |
|
CI is failing with perhaps this test just needs to be skipped on some combination of quartz / macos / wx? I am marking this as a WIP until I get a chance to look into this more |
| from enable.compiled_path import CompiledPath | ||
| from enable.kiva_graphics_context import GraphicsContext | ||
| from enable.markers import CustomMarker | ||
| from enable.tests._testing import skip_if_not_qt |
There was a problem hiding this comment.
not an actionable comment - i was wondering if the enable testsuite should always import from enable.api instead of importing from the specific modules. Note that this is a more general question for ETS/package development.
There was a problem hiding this comment.
Yeah I notice some of the test files do but others don't. I think it probably makes sense to use api everywhere in tests
This behavior of |
Needed to close enthought/chaco#232
Down in agg the method that gets called wants double inputs. If an int gets passed it things break. Changing the inputs to floats seems to resolve the problem.