Control glyph order
See original GitHub issueThere needs to be a way to control the vertical stacking of glyphs. They are not displayed in the order they are created. The lack of Z-order control means I cannot do something as simple as displaying a line glyph on top of a BoxAnnotation
. Instead I have to resort to using certain colors and alpha values.
I think other annotations are impacted too. For example, how do I constrain a Label
to only appear within the plot window? I haven’t figured this out and am guessing it’s related to the display layers.
Yes, I’ve read #696 and it shouldn’t have been closed. This commit is the only one I see related to Z order and it did not expose control the user.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Is there a way to control glyph order in glyph browsers?
1) To control it manually, in the Font Window, change the second popdown to "Index" (I think the default is Encoding). The third...
Read more >Changing Glyph Order in App
It's actually pretty easy to control glyph placement using the built-in controls and a little effort on the user part. Decide on the...
Read more >Glyph Control (Source Control VSPackage) - Visual Studio ...
A source control VSPackage can exercise two levels of glyph control. It can limit the choice of glyphs to a predefined set of...
Read more >Glyph Hack - Fev Games
In this phase, you must draw the glyphs you saw during the glyph display phase in the same order. A countdown timer will...
Read more >Glyphs - HeroScape Wiki - Fandom
Glyph of Kelda (Healing): When a Hero you control lands on this Glyph, ... Glyph of Oreld (Intercept Order): When one of your...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok found it, the renderer is the thing returned by
BoxAnnotation
orquad
, so for future reference:By default, annotations render on top of glyphs, since that is the more common use-case. If you’d like to put them in a different render level, you can set a different render level for them:
http://bokeh.pydata.org/en/latest/docs/reference/models/renderers.html#bokeh.models.renderers.Renderer.level
http://bokeh.pydata.org/en/latest/docs/reference/core/enums.html#bokeh.core.enums.RenderLevel
e.g. all
'underlay'
renderers are rendered before all'glyph'
level renderers.Among the renderers in a given render level (e.g. glyphs) things are rendered in the order they are added.