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

Skip to content

issue: 26871 - Remove SimplePath class from patches.py #26876

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 10 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
28 changes: 14 additions & 14 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,26 +42,26 @@ commands:
- run:
name: Install apt packages
command: |
sudo apt -qq update
sudo apt install -y \
inkscape \
ffmpeg \
sudo apt-get -qq update
sudo apt-get install -yy --no-install-recommends \
cm-super \
dvipng \
ffmpeg \
fonts-crosextra-carlito \
fonts-freefont-otf \
fonts-humor-sans \
fonts-noto-cjk \
fonts-wqy-zenhei \
graphviz \
inkscape \
lmodern \
cm-super \
optipng \
texlive-fonts-recommended \
texlive-latex-base \
texlive-latex-extra \
texlive-fonts-recommended \
texlive-latex-recommended \
texlive-pictures \
texlive-xetex \
ttf-wqy-zenhei \
graphviz \
fonts-crosextra-carlito \
fonts-freefont-otf \
fonts-humor-sans \
fonts-noto-cjk \
optipng
texlive-xetex

fonts-install:
steps:
Expand Down
3 changes: 3 additions & 0 deletions doc/api/next_api_changes/removals/26871-PS.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
Remove Deprecated API
~~~~~~~~~~~~~~~~~~~~~~~
``matplotlib.patches.ConnectionStyle._Base.SimpleEvent``
5 changes: 0 additions & 5 deletions lib/matplotlib/patches.py
Original file line number Diff line number Diff line change
Expand Up @@ -2708,11 +2708,6 @@ class _Base:
helper methods.
"""

@_api.deprecated("3.7")
class SimpleEvent:
def __init__(self, xy):
self.x, self.y = xy

def _in_patch(self, patch):
"""
Return a predicate function testing whether a point *xy* is
Expand Down
2 changes: 0 additions & 2 deletions lib/matplotlib/patches.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,6 @@ class BoxStyle(_Style):

class ConnectionStyle(_Style):
class _Base(ConnectionStyle):
class SimpleEvent:
def __init__(self, xy: tuple[float, float]) -> None: ...

def __call__(
self,
Expand Down
Loading