Data Apps & Dashboards for Python. No JavaScript Required.
MIT License
Bot releases are hidden (Show)
app.title
and (new) app.description
to be used as defaults for the page title and description. Fixes #2811.delay_show
and delay_hide
props to prevent flickering during brief loading periods (similar to Dash Bootstrap Components dbc.Spinner)overlay_style
for styling the loading overlay, such as setting visibility and opacity for childrentarget_components
specifies components/props triggering the loading spinnercustom_spinner
enables using a custom component for loading messages instead of built-in spinnersdisplay
overrides the loading status with options for "show," "hide," or "auto"Published by T4rk1n 8 months ago
Published by T4rk1n 8 months ago
npm run first-build
dynamic_loading=True
to dash init.preloaded_libraries=[]
to dash init, included libraries names will be loaded on the index like before.setProps
to dash_clientside.clientSide_setProps
to allow for JS code to interact directly with the dash eco-system.mjs
ending as js modulesPublished by T4rk1n 9 months ago
triggered_id
to dash_clientside.callback_context
. Fixes #2692
tooltip.template
a string for the format template, {value} will be formatted with the actual value.tooltip.style
a style object to give to the div of the tooltip.tooltip.transform
a reference to a function in the window.dccFunctions
namespace._dash_error
to setProps
, allowing component developers to send error without throwing in render. Usage props.setProps({_dash_error: new Error("custom error")})
Published by alexcjohnson 11 months ago
_allow_dynamic_callbacks
for newly-added components.Published by T4rk1n 12 months ago
Published by T4rk1n about 1 year ago
__name__
to Dash constructor.routing_callback_inputs
allowing to pass more Input and/or State arguments to the pages routing callback_allow_dynamic_callbacks
, register new callbacks inside other callbacks.Published by T4rk1n about 1 year ago
Published by T4rk1n about 1 year ago
Published by T4rk1n about 1 year ago
moduleResolution
, fixes #2618
Published by T4rk1n over 1 year ago
Published by T4rk1n over 1 year ago
jupyter_mode
argument to app.run
, defaults to inline
and configurable via jupyter_dash.default_mode
.JupyterDash
to app.run
: jupyter_width
, jupyter_height
, jupyter_server_url
.Published by T4rk1n over 1 year ago
<2.3
.Published by T4rk1n over 1 year ago
Published by T4rk1n over 1 year ago
<2.2.3
because we expect the Dash ecosystem to be incompatible with the next minor release of Flask (this excludes the current latest Flask release 2.3.x). We will raise the upper bound to <2.4
after we fix incompatibilities elsewhere in the Dash ecosystem.include_pages_meta=True
to Dash
constructor, and fix a security issue in pages meta tags #2536.#2533 and #2538 Update Plotly.js to v2.23.2 from v2.20.0.
legend
references to traces.label.texttemplate
to parametric shapes.#2538 Update JS dependencies in dcc, html, dash-table, dash-renderer, and dash
Published by T4rk1n over 1 year ago
Location
objects are removed from the layout. Event handlers would not be removed and eventually change props of a random DOM element, fix #1346
Patch
objects by making Patch
objects picklablePublished by T4rk1n over 1 year ago
KeyError
"Callback function not found for output [...], , perhaps you forgot to prepend the '@'?" issue when using duplicate callbacks targeting the same output. This issue would occur when the app is restarted or when running with multiple gunicorn
workers.allow_duplicate
output with clientside callback, fix #2467
Published by T4rk1n over 1 year ago
Published by T4rk1n over 1 year ago
display: block
if inline
is false in RadioItems & Checklist components. To keep previous behavior, set inline=True
. This is already how it was described and worked in our documentation and other places with CSS stylesheets that set the default orientation of RadioItems and Checklist options to vertical (including Dash Design Kit), but for unstyled pages it is a breaking change.pathlib.path
for pages_folder
, to match assets_folder
use_pages=True
when you supply a custom pages_folder
pages_folder
that includes special charactersclear_pages_state
refresh="callback-nav"
in dcc.Location
. This allows for navigation without refreshing the page when url is updated in a callback.add_log_handler=True
to Dash init, if you don't want a log stream handler at all.REACT_VERSION=18.2.0
before running your app, or inside the app call dash._dash_renderer._set_react_version("18.2.0")
. THIS FEATURE IS EXPERIMENTAL. It has not been tested with component suites outside the Dash core, and we may add or remove available React versions in any future release.dash.Patch
for partial update Output props without transferring the previous value in a State.allow_duplicate
to Output
arguments allowing duplicate callbacks to target the same prop.dash[testing]
not installed, fix #946.backround=True
callbacks.dash.dash
, as library logger it should be on that namespace instead of the user app.Published by T4rk1n over 1 year ago
disable_n_clicks=True
to the html.Div
components in page_container
.