Closed DeltaSigma130 closed 3 years ago
matplotlib.pyplot.close has None as a default argument, however, the stub does not specify None.
https://matplotlib.org/api/_as_gen/matplotlib.pyplot.close.html#matplotlib.pyplot.close
Shouldn't line 217 in https://github.com/predictive-analytics-lab/data-science-types/blob/master/matplotlib-stubs/pyplot.pyi.in be changed from the first to the second?
def close(fig: Union[Figure, Literal["all"]]) -> None: ...
def close(fig: Union[Figure, Literal["all"], None]) -> None: ...
Thanks for the report!
matplotlib.pyplot.close has None as a default argument, however, the stub does not specify None.
https://matplotlib.org/api/_as_gen/matplotlib.pyplot.close.html#matplotlib.pyplot.close
Shouldn't line 217 in https://github.com/predictive-analytics-lab/data-science-types/blob/master/matplotlib-stubs/pyplot.pyi.in be changed from the first to the second?