File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -146,6 +146,7 @@ ProPlot v0.7.0 (2021-06-30)
146
146
rather than passing it to `colorbar() ` (:commit: `a23e7043 `).
147
147
* Fix issue where axis is accidentally inverted for histogram plots (:issue: `191 `).
148
148
* Fix issue where numeric zero cannot be applied as legend label (:commit: `02417c8c `).
149
+ * Fix issue where `minorlocator=1 ` is not allowed (:issue: `219 `).
149
150
* Fix issue where `~proplot.colors.Cycle ` fails to register new names and fails to
150
151
display in `~proplot.demos.show_cycles ` (:commit: `94ffc1dc `, :commit: `4a7a3c79 `).
151
152
* Fix issue where proplot fails to detect legend entries for "outer"
Original file line number Diff line number Diff line change @@ -1117,7 +1117,7 @@ def format(
1117
1117
axis .set_major_locator (locator )
1118
1118
if isinstance (locator , mticker .IndexLocator ):
1119
1119
tickminor = False # 'index' minor ticks make no sense
1120
- if minorlocator in ( True , False ):
1120
+ if minorlocator is True or minorlocator is False : # must test identity
1121
1121
warnings ._warn_proplot (
1122
1122
f'You passed { x } minorticks={ minorlocator } , but this '
1123
1123
'argument is used to specify tick *locations*. If '
You can’t perform that action at this time.
0 commit comments