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.

[1] https://github.com/matplotlib/matplotlib/pull/20416
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
# https://github.com/matplotlib/matplotlib/pull/20416
self._z_markers_idx = slice(-1)
super().__init__(paths, **kwargs)
if offsets is not None:
......
Markdown is supported
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