Skip to content

Instantly share code, notes, and snippets.

@bhargavkakadiya
Last active April 19, 2023 16:34
Show Gist options
  • Save bhargavkakadiya/7a0c7af420905a9fac28834319c2fafb to your computer and use it in GitHub Desktop.
Save bhargavkakadiya/7a0c7af420905a9fac28834319c2fafb to your computer and use it in GitHub Desktop.
Python Holoviz Panel render white text color in dark themed Jupyter
# >> Jupyter Notebook
import pandas as pd
import param as pm
import panel as pn
RAW_CSS = """
body {
color: white;
}
"""
pn.extension()
class App(pm.Parameterized):
a = pm.Number(default=100)
b = pm.Number(default=100)
app = App()
pn.Column(app)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment