Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc60622a

Browse files
wemi3QuLogicoscargus
authored
26865 Removed deprecations from quiver.py (#26918)
* 26865 Removed deprecations from quiver.py* Added rst file* updated quiver.pyi* removed extra lines* removed code stubs, edited rst file* Update lib/matplotlib/quiver.pyCo-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>* Update doc/api/next_api_changes/removals/26918-EW.rstCo-authored-by: Oscar Gustafsson <oscar.gustafsson@gmail.com>---------Co-authored-by: Elliott Sales de Andrade <quantum.analyst@gmail.com>Co-authored-by: Oscar Gustafsson <oscar.gustafsson@gmail.com>
1 parent870293a commitc60622a

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
``Quiver.quiver_doc`` and ``Barbs.barbs_doc``
2+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
3+
... are removed. These are the doc-string and should not be accessible as a named class member.

‎lib/matplotlib/quiver.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -721,8 +721,6 @@ def _h_arrows(self, length):
721721
# Mask handling is deferred to the caller, _make_verts.
722722
returnX,Y
723723

724-
quiver_doc=_api.deprecated("3.7")(property(lambdaself:_quiver_doc))
725-
726724

727725
_barbs_doc=r"""
728726
Plot a 2D field of barbs.
@@ -1177,5 +1175,3 @@ def set_offsets(self, xy):
11771175
xy=np.column_stack((x,y))
11781176
super().set_offsets(xy)
11791177
self.stale=True
1180-
1181-
barbs_doc=_api.deprecated("3.7")(property(lambdaself:_barbs_doc))

‎lib/matplotlib/quiver.pyi

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,6 @@ class Quiver(mcollections.PolyCollection):
125125
defset_UVC(
126126
self,U:ArrayLike,V:ArrayLike,C:ArrayLike|None= ...
127127
)->None: ...
128-
@property
129-
defquiver_doc(self)->str: ...
130128

131129
classBarbs(mcollections.PolyCollection):
132130
sizes:dict[str,float]
@@ -183,5 +181,3 @@ class Barbs(mcollections.PolyCollection):
183181
self,U:ArrayLike,V:ArrayLike,C:ArrayLike|None= ...
184182
)->None: ...
185183
defset_offsets(self,xy:ArrayLike)->None: ...
186-
@property
187-
defbarbs_doc(self)->str: ...

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp