Commit c2561aea 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 bde145b2
Pipeline #73900 passed with stages
in 48 minutes and 22 seconds
...@@ -342,6 +342,10 @@ if mpl_available: ...@@ -342,6 +342,10 @@ if mpl_available:
if offsets is not None: if offsets is not None:
kwargs['offsets'] = offsets[:, :2] 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) super().__init__(paths, **kwargs)
if offsets is not None: 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