[FEATURE] add broader themes
See original GitHub issueCurrently we can define a theme to set specific attributes of specific models like below from the examples in https://docs.bokeh.org/en/latest/docs/reference/themes.html
attrs:
Figure:
background_fill_color: '#2F2F2F'
border_fill_color: '#2F2F2F'
outline_line_color: '#444444'
Grid:
grid_line_dash: [6, 4]
grid_line_alpha: .3
Title:
text_color: "white"
Would it be possible to add something a bit more powerfull like matplotlib’s rcParams to set attributes like text properties for all the text in the document. For example with matplotlib we can do rcParams.update({'font.size':15})
and the font size of all text, from titles, to axis labels, to legend labels, is updated.
Alternatively I loop over all the models I know in the document that have text, look at their .properties_with_values() dictionary, and build the theme dictionary by looking for all the attributes that include e.g. “text_font_size”.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Themes: Organize Your Product Roadmap to Show Value
Organize your product roadmap by grouping initiatives together into themes. This way, you can better communicate value.
Read more >Ability to group features into themes - Aha! Big Ideas
It would be useful to be able to categorise features into themes and be able to see a visual heirarchy of release >...
Read more >How to Develop a Theme for Your Story - 2022 - MasterClass
A story theme is a broad conceptual philosophy that an author wishes to convey through their literary work. To extract a story's theme, ......
Read more >How to develop story themes: 5 theme examples - Now Novel
The recurring ideas or broad themes of books give us insights into ideas such as 'love', 'honor', 'good vs evil' and much more....
Read more >Feature-less Roadmap: The Balance Between Delivering ...
Themes speak to Themes speak to larger goals and objectives, which is what stakeholders ultimately care about.larger goals and objectives, which ...
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
Thinking about this also from the other issue wanting to target themes to named objects, I might suggest this instead:
I don’t support further subdividing
attrs
There is no point it havingattrs
in the file at all if it is the only valid top level construct. I’d rather split things at the top level, and also avoid weird syntax with*
etcI consider this as completed based on PR #9755. If that’s not the case, please reopen.