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

Appearance settings

Import PIL.Image explicitly over PIL #26490

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

Merged
merged 1 commit into from
Aug 13, 2023
Merged
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
2 changes: 1 addition & 1 deletion 2 lib/matplotlib/axes/_axes.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ import matplotlib.stackplot as mstack
import matplotlib.streamplot as mstream

import datetime
import PIL
import PIL.Image
from collections.abc import Callable, Sequence
from typing import Any, Literal, overload
import numpy as np
Expand Down
2 changes: 1 addition & 1 deletion 2 lib/matplotlib/backends/backend_wx.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
import weakref

import numpy as np
import PIL
import PIL.Image

import matplotlib as mpl
from matplotlib.backend_bases import (
Expand Down
1 change: 1 addition & 0 deletions 1 lib/matplotlib/image.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
import warnings

import numpy as np
import PIL.Image
import PIL.PngImagePlugin

import matplotlib as mpl
Expand Down
2 changes: 1 addition & 1 deletion 2 lib/matplotlib/image.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ from typing import Any, BinaryIO, Literal

import numpy as np
from numpy.typing import ArrayLike, NDArray
import PIL # type: ignore
import PIL.Image

import matplotlib.artist as martist
from matplotlib.axes import Axes
Expand Down
2 changes: 1 addition & 1 deletion 2 lib/matplotlib/pyplot.py
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
from typing import Any, BinaryIO, Literal, TypeVar
from typing_extensions import ParamSpec

import PIL
import PIL.Image
from numpy.typing import ArrayLike

from matplotlib.axis import Tick
Expand Down
2 changes: 1 addition & 1 deletion 2 lib/matplotlib/widgets.pyi
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from .lines import Line2D
from .patches import Circle, Polygon, Rectangle
from .text import Text

import PIL
import PIL.Image

from collections.abc import Callable, Collection, Iterable, Sequence
from typing import Any, Literal
Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.