Skip to content

Commit 194a7be

Browse files
committed
removed Pandas version pin
1 parent 4729ad5 commit 194a7be

File tree

3 files changed

+6
-8
lines changed

3 files changed

+6
-8
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ Refer to [Plotly’s documentation on hover text and formatting](https://plotly.
114114
custom_style = {
115115
"font": {"size": 12, "color":"red"},
116116
"arrowcolor": "red",
117-
'arrow_size': 5,
117+
'arrowsize': 5,
118118
# ... any other customization
119119
}
120120
tooltip(app10, style=custom_style, graph_ids=["graph-id"], template=template, debug=True)

dash_tooltip_demo.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1191,7 +1191,10 @@ def interactive_plot(fig, graphid, template):
11911191
)
11921192

11931193
# Update layout title
1194-
fig15.update_layout(title_text="2x2 Subplots with 2 Traces Each", height=800)
1194+
fig15.update_layout(
1195+
title_text="2x2 Subplots with 2 Traces Each (tooltip placement should work after Plotly issue fix)",
1196+
height=800,
1197+
)
11951198

11961199
# Register the callback with FigureResampler
11971200
fig15.register_update_graph_callback(app15, "graph-id15", "trace-updater15")

requirements.txt

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,7 @@ jupytext
33
dash_bootstrap_components
44
jupyterlab
55
ipywidgets
6-
# Pinning pandas to <2.1 due to:
7-
# - plotly_resampler using the deprecated method is_datetime64tz_dtype.
8-
# - Plotly's basevalidators.py having a behavior change warning related to DatetimeProperties.to_pydatetime.
9-
# This pinning is a temporary measure until both libraries address these issues in their implementations.
10-
# TODO: Periodically check for updates to plotly_resampler and Plotly and test compatibility with newer pandas versions.
11-
pandas < 2.1
6+
pandas
127
pandas-stubs
138
plotly-resampler
149
trace_updater

0 commit comments

Comments
 (0)