Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit af156e9

Browse files
committed
Delete _set_hatch_linewidth from hatch
1 parent 5acbb73 commit af156e9

File tree

1 file changed

+0
-11
lines changed

1 file changed

+0
-11
lines changed

lib/matplotlib/hatch.py

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -223,14 +223,3 @@ def get_path(hatchpattern, density=6):
223223
cursor += pattern.num_vertices
224224

225225
return Path(vertices, codes)
226-
227-
228-
def _set_hatch_linewidth(gc, hatch_linewidth):
229-
if hasattr(gc, "set_hatch_linewidth"):
230-
gc.set_hatch_linewidth(hatch_linewidth)
231-
else:
232-
_api.warn_deprecated(
233-
"3.8", message="The current backend does not define "
234-
"GraphicsContextRenderer.set_hatch_linewidth; support for such "
235-
"backends is deprecated since %(since)s and will be removed "
236-
"%(removal)s.")

0 commit comments

Comments
 (0)