jupyter-plotly-dash icon indicating copy to clipboard operation
jupyter-plotly-dash copied to clipboard

Support for external_stylesheets

Open damienrj opened this issue 5 years ago • 5 comments

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?

damienrj avatar Sep 18 '19 21:09 damienrj

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

GibbsConsulting avatar Feb 03 '20 02:02 GibbsConsulting

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

jonatelo avatar Feb 07 '20 15:02 jonatelo

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'

VNDRN avatar Feb 18 '20 14:02 VNDRN

@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 avatar Feb 18 '20 22:02 GibbsConsulting

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

GibbsConsulting avatar Feb 18 '20 22:02 GibbsConsulting