You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The number of columns that the legend has.
For backward compatibility, the spelling ncol is also supported but it is discouraged. If both are given, ncols takes precedence
The Fix
_legends.py (Line 81)
Change if obj._ncol != 1: data["current axes"].axis_options.append(f"legend columns={obj._ncol}")
to if obj._ncols != 1: data["current axes"].axis_options.append(f"legend columns={obj._ncols}")
The text was updated successfully, but these errors were encountered:
When attempting to use Legends, the following error is presented.
I quick search of the matplotlib docs showed that
The Fix
_legends.py (Line 81)
Change
if obj._ncol != 1: data["current axes"].axis_options.append(f"legend columns={obj._ncol}")
to
if obj._ncols != 1: data["current axes"].axis_options.append(f"legend columns={obj._ncols}")
The text was updated successfully, but these errors were encountered: