GibbsConsulting / jupyter-plotly-dash

Jupyter notebook wrapper for plotly dash applications
GNU Affero General Public License v3.0
81 stars 12 forks source link

Support for external_stylesheets #42

Open damienrj opened 5 years ago

damienrj commented 5 years ago

I would like to use https://dash-bootstrap-components.opensource.faculty.ai/ but this requires being able to use external style sheets. app = dash.Dash(__name__, external_stylesheets=[dbc.themes.BOOTSTRAP]). Is it possible to pass this in?

GibbsConsulting commented 4 years ago

PR #50 - released as v0.4.0 - should now permit the use of dash-bootstrap-components. @damienrj does this help?

jonatelo commented 4 years ago

What about if we want to add custom styles to each component.

VNDRN commented 4 years ago

How would one use the dash-bootstrap-components? when using app = JupyterDash(__name__, external_stylesheets=[dbc.themes.BOOTSTRAP]) it throws an error TypeError: __init__() got an unexpected keyword argument 'external_stylesheets'

GibbsConsulting commented 4 years ago

@JefVandooren setting add_bootstrap_links=True should be sufficient.

@jonatel there is no way at the moment to add custom styles; I will create an issue for this.

GibbsConsulting commented 4 years ago

Using external_stylesheets depends on issue #226 from django-plotly-dash.