Skip to content

Commit 241edb3

Browse files
authored
Merge pull request #2180 from pllim/patch-1
2 parents efcccbb + cedb182 commit 241edb3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/python_guide/data_tutorial.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -276,9 +276,9 @@ In the above examples, we have assumed that the data objects were loaded via
276276
the Glue application. The readers/writers in Glue can also be accessed using
277277
the functions in :mod:`glue.core.data_factories`::
278278

279-
>>> from glue.core.data_factores import (load_data, gridded_data,
280-
... tabular_data)
281-
>>> load_data('image.fits', factory=gridded_data) # reads a FITS image
279+
>>> from glue.core.data_factories import (load_data, fits_reader,
280+
... tabular_data)
281+
>>> fits_reader('image.fits') # reads a FITS image
282282
>>> load_data('catalog.csv', factory=tabular_data) # reads a catalog
283283
>>> load_data('catalog.csv') # guesses format
284284

0 commit comments

Comments
 (0)