-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6ba7a05
commit 4f35162
Showing
12 changed files
with
170 additions
and
175 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
from dash import Dash | ||
from dash_bootstrap_templates import load_figure_template | ||
from jupyter_dash import JupyterDash | ||
from IPython import get_ipython | ||
import dash_bootstrap_components as dbc | ||
|
||
load_figure_template("darkly") | ||
dbc_css = "https://cdn.jsdelivr.net/gh/AnnMarieW/dash-bootstrap-templates/dbc.min.css" | ||
try: | ||
shell = str(get_ipython()) | ||
if "ZMQInteractiveShell" in shell: | ||
app = JupyterDash(__name__, external_stylesheets=[dbc.themes.DARKLY, dbc_css]) | ||
elif shell == "TerminalInteractiveShell": | ||
app = JupyterDash(__name__, external_stylesheets=[dbc.themes.DARKLY, dbc_css]) | ||
else: | ||
app = Dash(__name__, external_stylesheets=[dbc.themes.DARKLY, dbc_css]) | ||
except NameError: | ||
app = Dash(__name__, external_stylesheets=[dbc.themes.DARKLY, dbc_css]) | ||
|
||
bg_color = "#0b0b18" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.