ResidentMario / missingno

Missing data visualization module for Python.
MIT License
3.9k stars 516 forks source link

Correct return-type when inline=False #132

Closed maxmahlke closed 3 years ago

maxmahlke commented 3 years ago

The plot functions do not return matplotlib.figure.Figure instances but matplotlib.axis.Axis instances when inline=False. Technically, they can also return matplotlib.axes._subplots.AxesSubplot instances when we are dealing with subplots, but I have left this out for clarity and since the subplot class inherits from the axis class, making them behave in the same way essentially. If you prefer, I can clarify this return-type behaviour in the documentation as well.

ResidentMario commented 3 years ago

Good catch!