-
Notifications
You must be signed in to change notification settings - Fork 0
Closed
Description
surface_alt_text
is meant to be a thin wrapper around add_alt_text now
:
matplotalt/matplotalt/matplotalt.py
Lines 183 to 185 in 5db823d
# for backwards compatability | |
def surface_alt_text(**kwargs): | |
add_alt_text(**kwargs) |
But it only forwards keyword arguments, not positional arguments (*args
). So if I call it like the documentation for 0.6 says:
surface_alt_text(sunshine_alt, methods=["html", "img_file"])
Then I get:
TypeError: surface_alt_text() takes 0 positional arguments but 1 was given
Metadata
Metadata
Assignees
Labels
No labels