Error setting font size
- Dominant language
- Python
- Stars
- 1.4k
- Forks
- 124
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 1
Description
#### ALL software version info
bokeh==2.4.3
holoviews==1.15.2
hvplot==0.8.3
jupyter-bokeh==3.0.5
jupyterlab==3.6.0
jupyterlab-pygments==0.2.2
jupyterlab-widgets==3.0.7
jupyterlab_server==2.22.1
networkx==3.1
Python 3.10.6
#### Description of expected behavior and the observed behavior
Should be able to modify font size according to the docs.
#### Complete, minimal, self-contained example code that reproduces the issue
```
hvnx.draw(G, pos, font_size=12, with_labels=True, width=1800, height=950, alpha=0.5, node_size=600, node_color='type', cmap=['red','blue'])
```
#### Stack traceback and/or browser JavaScript console output
```
ValueError [Call holoviews.ipython.show_traceback() for details]
failed to validate Text(id='14017', ...).text_font_size: expected an element of either String, Dict(Enum('expr', 'field', 'value', 'transform'), Either(String, Instance(Transform), Instance(Expression), FontSize)) or FontSize, got 12
```
Contributor guide
Assessment
This issue has not been assessed yet.