diff --git a/kivy_garden/matplotlib/backend_kivy.py b/kivy_garden/matplotlib/backend_kivy.py index 66352f5..a1074bf 100644 --- a/kivy_garden/matplotlib/backend_kivy.py +++ b/kivy_garden/matplotlib/backend_kivy.py @@ -401,7 +401,7 @@ def __init__(self, widget): self.dpi = widget.figure.dpi self._markers = {} # Can be enhanced by using TextToPath matplotlib, textpath.py - self.mathtext_parser = MathTextParser("Bitmap") + self.mathtext_parser = MathTextParser("path") self.list_goraud_triangles = [] self.clip_rectangles = [] self.labels_inside_plot = [] diff --git a/pyproject.toml b/pyproject.toml index 25aacbe..c215c6e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -22,7 +22,7 @@ classifiers = [ "Programming Language :: Python :: 3", ] -dependencies = ["matplotlib"] +dependencies = ["matplotlib >= 3.0.0"] [tool.setuptools] packages = ["kivy_garden.matplotlib"]