Skip to content

Commit

Permalink
Merge pull request matplotlib#28006 from QuLogic/ft2font-deprecation
Browse files Browse the repository at this point in the history
  • Loading branch information
ksunden authored Apr 2, 2024
2 parents acfef85 + 07abbf2 commit 1b36177
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/ft2font_wrapper.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -73,8 +73,8 @@ static PyObject *PyFT2Image_draw_rect(PyFT2Image *self, PyObject *args)
{
char const* msg =
"FT2Image.draw_rect is deprecated since Matplotlib 3.8 and will be removed "
"in Matplotlib 3.10 releases later as it is not used in the library. "
"If you rely on it, please let us know.";
"in Matplotlib 3.10 as it is not used in the library. If you rely on it, "
"please let us know.";
if (PyErr_WarnEx(PyExc_DeprecationWarning, msg, 1)) {
return NULL;
}
Expand Down Expand Up @@ -838,8 +838,8 @@ const char *PyFT2Font_get_xys__doc__ =
static PyObject *PyFT2Font_get_xys(PyFT2Font *self, PyObject *args, PyObject *kwds)
{
char const* msg =
"FT2Font.get_xys is deprecated since Matplotlib 3.8 and will be removed two "
"meso releases later as it is not used in the library. If you rely on it, "
"FT2Font.get_xys is deprecated since Matplotlib 3.8 and will be removed in "
"Matplotlib 3.10 as it is not used in the library. If you rely on it, "
"please let us know.";
if (PyErr_WarnEx(PyExc_DeprecationWarning, msg, 1)) {
return NULL;
Expand Down

0 comments on commit 1b36177

Please sign in to comment.