Skip to content

Commit

Permalink
removed Pandas version pin
Browse files Browse the repository at this point in the history
  • Loading branch information
kb- committed Nov 1, 2023
1 parent cbe371f commit 4022835
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
5 changes: 4 additions & 1 deletion dash_tooltip_demo.py
Original file line number Diff line number Diff line change
Expand Up @@ -1191,7 +1191,10 @@ def interactive_plot(fig, graphid, template):
)

# Update layout title
fig15.update_layout(title_text="2x2 Subplots with 2 Traces Each", height=800)
fig15.update_layout(
title_text="2x2 Subplots with 2 Traces Each (tooltip placement should work after Plotly issue fix)",
height=800,
)

# Register the callback with FigureResampler
fig15.register_update_graph_callback(app15, "graph-id15", "trace-updater15")
Expand Down
5 changes: 0 additions & 5 deletions requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ jupytext
dash_bootstrap_components
jupyterlab
ipywidgets
# Pinning pandas to <2.1 due to:
# - plotly_resampler using the deprecated method is_datetime64tz_dtype.
# - Plotly's basevalidators.py having a behavior change warning related to DatetimeProperties.to_pydatetime.
# This pinning is a temporary measure until both libraries address these issues in their implementations.
# TODO: Periodically check for updates to plotly_resampler and Plotly and test compatibility with newer pandas versions.
pandas
pandas-stubs
plotly-resampler
Expand Down

0 comments on commit 4022835

Please sign in to comment.