Skip to content

Commit d3e355f

Browse files
committed
🙈 fixing formatting (command) and updating poetry lock hash
1 parent 8b527fe commit d3e355f

File tree

3 files changed

+3
-5
lines changed

3 files changed

+3
-5
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ black = black plotly_resampler examples tests
22

33
.PHONY: format
44
format:
5-
$(black)
5+
poetry run $(black)
66
poetry run ruff check plotly_resampler tests
77

88
.PHONY: lint

plotly_resampler/figure_resampler/figure_resampler_interface.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -612,9 +612,7 @@ def _parse_get_trace_props(
612612
hf_y = (
613613
trace["y"]
614614
if hasattr(trace, "y") and hf_y is None
615-
else hf_y.values
616-
if isinstance(hf_y, (pd.Series, pd.Index))
617-
else hf_y
615+
else hf_y.values if isinstance(hf_y, (pd.Series, pd.Index)) else hf_y
618616
)
619617
# NOTE: the if will not be triggered for a categorical series its values
620618
if not hasattr(hf_y, "dtype"):

poetry.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)