Skip to content

Commit e090ff4

Browse files
committed
FIX
1 parent d75698e commit e090ff4

File tree

2 files changed

+4
-8
lines changed

2 files changed

+4
-8
lines changed

lib/matplotlib/dates.py

+2-6
Original file line numberDiff line numberDiff line change
@@ -1227,7 +1227,7 @@ def __init__(self, tz=None, minticks=5, maxticks=None,
12271227
YEARLY: [1, 2, 4, 5, 10, 20, 40, 50, 100, 200, 400, 500,
12281228
1000, 2000, 4000, 5000, 10000],
12291229
MONTHLY: [1, 2, 3, 4, 6],
1230-
DAILY: [1, 2, 3, 7, 14, 21],
1230+
DAILY: [1, 2, 4, 7, 14, 21],
12311231
HOURLY: [1, 2, 3, 4, 6, 12],
12321232
MINUTELY: [1, 5, 10, 15, 30],
12331233
SECONDLY: [1, 5, 10, 15, 30],
@@ -1338,12 +1338,8 @@ def get_locator(self, dmin, dmax):
13381338
self._freq = freq
13391339

13401340
if self._byranges[i] and self.interval_multiples:
1341-
if i == 2:
1342-
# special cases for monthday:
1343-
if interval == 14:
1341+
if i == 2 and interval == 14:
13441342
byranges[i] = [1, 15]
1345-
if interval == 3:
1346-
byranges[i] = range(1, 29, 3)
13471343
else:
13481344
byranges[i] = self._byranges[i][::interval]
13491345
interval = 1

setup.cfg.template

+2-2
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
# set this to True. It will download and build a specific version of
1414
# FreeType, and then use that to build the ft2font extension. This
1515
# ensures that test images are exactly reproducible.
16-
#local_freetype = False
16+
local_freetype = True
1717

1818
[status]
1919
# To suppress display of the dependencies and their versions
2020
# at the top of the build log, uncomment the following line:
21-
#suppress = True
21+
#suppress = True
2222

2323
[packages]
2424
# There are a number of subpackages of Matplotlib that are considered

0 commit comments

Comments
 (0)