Uh oh!
There was an error while loading. Please reload this page.
Add support for setting indicator color - #29
Conversation
nicolaskruchten
commented
Nov 30, 2020
Hmm the border is a bit intense... I wonder if maybe just having the corners highlighted would be enough? Like an indicator line along both sides of every corner for 20 pixels or something? |
almarklein
commented
Nov 30, 2020
Yeah, I played a bit with slimmer lines, but certain colors would be barely visible then. I'll try the corners-thing. |
emmanuelle
commented
Dec 1, 2020
Maybe a matter of color and taste, but I'm fine with lines as they are now. And it helps a lot with the navigation, love this feature!! |
emmanuelle
commented
Dec 2, 2020
What do you think @surchs? Are lines too thick or ok? We need more opinions :-). |
Added another possible approach to the top post. |
surchs
commented
Dec 2, 2020
Nice, this looks very cool and makes it easier to use! |
nicolaskruchten
commented
Dec 2, 2020
I think this is looking pretty great! The corner indicators could be a little smaller perhaps, and I personally preferred the "outer tick" style of indicators for the other two, that way they don't occlude the figure, but that's maybe just a personal style thing. It would be awesome to get these indicators somehow reflected in the 3d view as well if possible in the example with the 3d plot :) |
almarklein
commented
Dec 4, 2020
nicolaskruchten
commented
Dec 4, 2020
zomg that's cool |
almarklein
commented
Dec 4, 2020
Ready for review. The corner-indicators are now actually square, and have the same size in each view targeting the same volume. Quite a few changes, I also renamed some variables, and refactored a bit. |
almarklein
commented
Dec 4, 2020
Hold on - After discussion with @nicolaskruchten I'm going to try changing how we define the "indicator ranges". |

colorarg, egVolumeSlicer(... color='red').infostore to avoid confusion with shape, sampling and origin.create_overlay_data()method samples default colors from the same colormap.create_overlay_data(), the first element is used where mask is 1 (was 0).gd._fullLayout.width/height?