cristobal-sifon / plottery

Plotting tools
GNU General Public License v3.0
0 stars 0 forks source link

bug in wcslabels #9

Closed cristobal-sifon closed 6 years ago

cristobal-sifon commented 6 years ago

When asking for tick separations of minutes, the minute separation gets carried over to seconds. For instance,

xticks, yticks = wcslabels(wcs, xlim, ylim, ysep='00:02:00')
print(xticks)
>>> ['-00:38:02', '-00:36:02', '-00:34:02']

when the output should have been

>>> ['-00:38:00', '-00:36:00', '-00:34:00']
cristobal-sifon commented 6 years ago

solved in v0.4.1.