Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork7.9k
Closed as not planned
Description
Bug summary
Breaks single point drawing.
set_data_3d() changed to:
def set_data_3d(self, *args): if len(args) == 1: args = args[0] for name, xyz in zip('xyz', args): if not np.iterable(xyz): raise RuntimeError(f'{name} must be a sequence') self._verts3d = args self.stale = True
from previous version:
def set_data_3d(self, *args): if len(args) == 1: self._verts3d = args[0] else: self._verts3d = args self.stale = True
Code for reproduction
e.g.set_data_3d(0.94,-0.26,0.22)
Actual outcome
RuntimeError: must be a sequence
Expected outcome
setting new data using set_data_3d
Additional information
No response
Operating system
No response
Matplotlib Version
3.7.1
Matplotlib Backend
No response
Python version
3.10
Jupyter version
No response
Installation
None
Metadata
Metadata
Assignees
Labels
No labels