Skip to content

Commit

Permalink
Tweak bar subplot sizing behavior. (ResidentMario#89)
Browse files Browse the repository at this point in the history
  • Loading branch information
ResidentMario committed Jul 8, 2019
1 parent 3008db8 commit 6391dc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion missingno/missingno.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,8 @@ def bar(df, figsize=(24, 10), fontsize=16, labels=None, log=False, color='dimgra
ax1 = plt.gca()
else:
ax1 = ax
figsize = None # for behavioral consistency with other plot types, re-use the given size

plt.figure(figsize=figsize)
(nullity_counts / len(df)).plot.bar(
figsize=figsize, fontsize=fontsize, log=log, color=color, ax=ax1
)
Expand Down

0 comments on commit 6391dc4

Please sign in to comment.