matplotlib._api.deprecation.MatplotlibDeprecationWarning: The checkdep_usetex function
was deprecated in Matplotlib 3.6 and will be removed two minor releases later.
Use Vendor the code instead.
@pllim Sorry for the confusion. The message is a bit awkward because it’s generated via a template.
checkdep_usetex was not intended as public API and we are going to remove it. If you need the functionality you should take a copy of the code and maintain it yourself.
That is unfortunate. Won't that promote code duplication, especially since you'll still be using it internally anyway? Anyways, my original question is answered, so I am closing the issue. Thanks!
Downstream libraries (or anyone) are certainly welcome to use our private methods. We simply don't guarantee their stability. If you want to avoid the warning just use the private method (but don't raise an issue if it breaks in the future).
Activity
timhoffm commented on Jun 10, 2022
@pllim Sorry for the confusion. The message is a bit awkward because it’s generated via a template.
checkdep_usetex was not intended as public API and we are going to remove it. If you need the functionality you should take a copy of the code and maintain it yourself.
pllim commented on Jun 11, 2022
That is unfortunate. Won't that promote code duplication, especially since you'll still be using it internally anyway? Anyways, my original question is answered, so I am closing the issue. Thanks!
jklymak commented on Jun 11, 2022
Downstream libraries (or anyone) are certainly welcome to use our private methods. We simply don't guarantee their stability. If you want to avoid the warning just use the private method (but don't raise an issue if it breaks in the future).