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

Skip to content

Commit 495c8d3

Browse files
committed
Make set_default_size set the variable actually being used elsewhere
svn path=/branches/v0_91_maint/; revision=5603
1 parent 8c02ec2 commit 495c8d3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/font_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -921,7 +921,7 @@ def set_default_weight(self, weight):
921921

922922
def set_default_size(self, size):
923923
"Set the default font size in points. The initial value is set by font.size in rc."
924-
self.__default_size = size
924+
self.default_size = size
925925

926926
def update_fonts(self, filenames):
927927
"""

0 commit comments

Comments
 (0)