Skip to content

Commit 778bee0

Browse files
authored
fix FutureWarning: iteritems is deprecated and will be removed in a future version. Use .items instead.
plotly/express/_core.py:279
1 parent f83921f commit 778bee0

File tree

1 file changed

+1
-1
lines changed
  • packages/python/plotly/plotly/express

1 file changed

+1
-1
lines changed

packages/python/plotly/plotly/express/_core.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -278,7 +278,7 @@ def make_trace_kwargs(args, trace_spec, trace_data, mapping_labels, sizeref):
278278
if attr_name == "dimensions":
279279
dims = [
280280
(name, column)
281-
for (name, column) in trace_data.iteritems()
281+
for (name, column) in trace_data.items()
282282
if ((not attr_value) or (name in attr_value))
283283
and (
284284
trace_spec.constructor != go.Parcoords

0 commit comments

Comments
 (0)