Skip to content

Commit 6afe400

Browse files
mwcraigpllim
andauthored
Update astrowidgets/bqplot.py
Co-authored-by: P. L. Lim <[email protected]>
1 parent dccf354 commit 6afe400

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

astrowidgets/bqplot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -487,7 +487,7 @@ def _update_viewer_zoom_scroll(self, change):
487487
# Methods for loading data
488488
def load_fits(self, file_name_or_HDU):
489489
if isinstance(file_name_or_HDU, str):
490-
ccd = CCDData.read(file)
490+
ccd = CCDData.read(file_name_or_HDU)
491491
elif isinstance(file_name_or_HDU,
492492
(fits.ImageHDU, fits.CompImageHDU, fits.PrimaryHDU)):
493493
try:

0 commit comments

Comments
 (0)