Skip to content

Commit 999aed9

Browse files
committed
Remove use of matplotlib's get_offset_position
1 parent 294d743 commit 999aed9

File tree

1 file changed

+1
-4
lines changed
  • packages/python/plotly/plotly/matplotlylib/mplexporter

1 file changed

+1
-4
lines changed

Diff for: packages/python/plotly/plotly/matplotlylib/mplexporter/exporter.py

+1-4
Original file line numberDiff line numberDiff line change
@@ -285,16 +285,13 @@ def draw_collection(
285285
"zorder": collection.get_zorder(),
286286
}
287287

288-
offset_dict = {"data": "before", "screen": "after"}
289-
offset_order = offset_dict[collection.get_offset_position()]
290-
291288
self.renderer.draw_path_collection(
292289
paths=processed_paths,
293290
path_coordinates=path_coords,
294291
path_transforms=path_transforms,
295292
offsets=offsets,
296293
offset_coordinates=offset_coords,
297-
offset_order=offset_order,
294+
offset_order="after",
298295
styles=styles,
299296
mplobj=collection,
300297
)

0 commit comments

Comments
 (0)