Skip to content

Commit

Permalink
Corrected scale argument type from int to float
Browse files Browse the repository at this point in the history
  • Loading branch information
inclement committed Jul 22, 2018
1 parent 2baad4a commit d1c7330
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kivy/uix/widget.py
Original file line number Diff line number Diff line change
Expand Up @@ -626,7 +626,7 @@ def export_to_png(self, filename, *args, scale=1):
:Parameters:
`filename`: str
The filename with which to save the png.
`scale`: int
`scale`: float
The amount by which to scale the saved image, defaults to 1.
'''

Expand Down

0 comments on commit d1c7330

Please sign in to comment.