Commit 88d7fa5c authored by Viacheslav Ostroukh's avatar Viacheslav Ostroukh 🚲
Browse files

fix missing Path3DCollection._z_markers_idx attribute

The issue is in Matplotlib. This is a temporary solution before [1] is merged.

Fixes #407.

parent a9fedcf5
......@@ -192,6 +192,10 @@ if mpl_available:
if offsets is not None:
kwargs['offsets'] = offsets[:, :2]
# Workaround for issue in Matplotlib-3.4.2 before PR merged
self._z_markers_idx = slice(-1)
super().__init__(paths, **kwargs)
if offsets is not None:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment