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

Skip to content

Commit b1f3c2f

Browse files
committed
Added keyword-only argument
1 parent d33ebe2 commit b1f3c2f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/matplotlib/mathtext.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -564,7 +564,7 @@ def get_depth(self, texstr, dpi=120, fontsize=14):
564564

565565

566566
def math_to_image(s, filename_or_obj, prop=None, dpi=None, format=None,
567-
color=None):
567+
*, color=None):
568568
"""
569569
Given a math expression, renders it in a closely-clipped bounding
570570
box to an image file.

0 commit comments

Comments
 (0)