Data Apps & Dashboards for Python. No JavaScript Required.
placeholder_text
property to filterOptions
for DataTable which allows overriding the default filter field placeholder.sankey
links, and editSelection
option to config.scatter
and scatter-like traces and increased control of automargin and legend sizingscattermapbox
traces and restricted bounds to mapbox
plots.pages_folder
is nested, or the 404 page is nested inside pages_folder
.before_first_request
as reported in #2177.flask-compress
dependency to new extras requires dash[compress]
plotly.js
from dcc.Graph
are properly sequenced even if React initiates multiple render cycles in quick succession.dash.page_registry
.suppress_callback_exceptions=True
the validation_layout
is not set.dash[testing]
is not installed.plotly_selected
event on plot API calls and GUI edits.sankey
select error (regression introduced in 2.13.0).sankey
traces to fix select error.dragmode
s when an existing selection is modified.maxHeight
to Dropdown options menu.background=False
to dash.callback
to use instead of app.long_callback
.app.long_callback
arguments to dash.callback
(interval
, running
, cancel
, progress
, progress_default
, cache_args_to_ignore
, manager
)search
prop to dcc.Dropdown
options, allowing to search the dropdown options with something other than the label or value.cell_selectable=False
..
were not excluded when building dash.page_registry
.not_found_404
page is incorrect in the dash.page_registry
when not using the pages
folder.React.FC
empty valueDeclaration error & support empty props components.dcc.Dropdown
search with component as prop for option label.dash.long_callback.managers.CeleryLongCallbackManager
, use dash.CeleryManager
instead.dash.long_callback.managers.DiskcacheLongCallbackManager
, use dash.DiskcacheManager
instead.long_callback_manager
in favor of background_callback_manager
.selections
, newselection
, and activeselection
, along with an updated UI allowing you to modify a selection you created.parcoords
traces.violin
traces.automargin
behavior.args_grouping
function.app = Dash(meta_tags=[{"name": "viewport"}])
path
to the pages_folder
was incorrect on Windows.args_grouping_values
property which was incompatible with pattern-matching callbacks.pages
- a better way to build multi-page apps. For more information see the forum post.
wait_for_class_to_equal
and wait_for_contains_class
methods to dash.testing
find_element
and find_elements
to accept an attribute
argument that aligns with Selenium's By
class, allowing you to search elements by other attributes. Default value is CSS_SELECTOR
to maintain backwards compatibility with previous find_elements
.dangerously_allow_html=True
+ mathjax=True
works in some cases, and in some cases not.dcc.Dropdown
with a value but no options.DASH_DEBUG
as environment variable gets ignored.#1952 Improved callback_context
dash.ctx
, a more concise name for dash.callback_context
ctx.triggered_prop_ids
, a dictionary of the component ids and props that triggered the callback.ctx.triggered_id
, the id
of the component that triggered the callback.ctx.args_grouping
, a dict of the inputs used with flexible callback signatures.#2009 Add support for Promises within Client-side callbacks as requested in #1364.
#1956 Add TypeScript components generation.
#2034 Add link_target
prop to dcc.Markdown component. Closes #1827
#2035 Add type annotations to testing fixtures.
#2029 Restrict the number of props listed explicitly in generated component constructors - default is 250. This prevents exceeding the Python 3.6 limit of 255 arguments. The omitted props are still in the docstring and can still be provided the same as before, they just won't appear in the signature so autocompletion may be affected.
#1968 Fix bug #1877, code which uses merge_duplicate_headers
and style_header_conditional
to highlight columns, it incorrectly highlights header cells.
#2015 Fix bug #1854 in which the combination of row_selectable="single or multi" and filter_action="native" caused the JS error.
#1976 Fix #1962 in which DatePickerSingle and DatePickerRange are extremely slow when provided a long list of disabled_days.
#2035 Fix #2033 In-App error reporting does not render HTML.
#1970 dcc.Dropdown Refactor fixes:
#1751 Rename app.run_server
to app.run
while preserving app.run_server
for backwards compatibility.
#1839 The callback
decorator returns the original function, not the wrapped function, so that you can still call these functions directly, for example in tests. Note that in this case there will be no callback context so not all callbacks can be tested this way.
#2016 Drop the 375px width from default percy_snapshot calls, keep only 1280px
#2027 Improve the error message when a user doesn't wrap children in a list
black
to v22.3.0 for Python 3.7+ - if you use dash[ci]
and you call black
, this may alter your code formatting slightly, including more consistently breaking Python 2 compatibility.