Skip to content

Commit

Permalink
Fix integer vs float division bug and remove from future imports
Browse files Browse the repository at this point in the history
  • Loading branch information
taranu committed Sep 12, 2019
1 parent 9a6769a commit 67e47fb
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions python/lsst/shapelet/tractor.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,6 @@
Please see the README file in the data directory of the lsst.shapelet
package for more information.
"""
from future import standard_library
standard_library.install_aliases() # noqa
from builtins import zip
from builtins import str
from builtins import range

import numpy
import os
import re
Expand Down Expand Up @@ -192,7 +186,7 @@ def plotSuite(doComponents=False):
bbox1 = axes[i, j+1].get_position()
bbox1.x0 = bbox0.x1 - 0.06
bbox0.x1 = bbox1.x0
centers[j/2] = 0.5*(bbox0.x0 + bbox1.x1)
centers[j//2] = 0.5*(bbox0.x0 + bbox1.x1)
axes[i, j].set_position(bbox0)
axes[i, j+1].set_position(bbox1)
for j in range(0, 2):
Expand Down

0 comments on commit 67e47fb

Please sign in to comment.