Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Defer matplotlib #15

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ python:
- "3.5"

install:
- pip install pytest
- pip install pytest numpy
- python setup.py build
- python setup.py install

Expand Down
2 changes: 1 addition & 1 deletion starlink/Atl.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import starlink.Ast as Ast
import starlink.Grf as Grf
from distutils.version import LooseVersion

try:
Expand Down Expand Up @@ -302,6 +301,7 @@ def plotframeset(axes, gbox, bbox, frameset, options=""):
>>> [ 0.5, 0.5, naxis1+0.5, naxis2+0.5 ], frameset )
>>> matplotlib.pyplot.show()
"""
import starlink.Grf as Grf

axes.xaxis.set_visible(False)
axes.yaxis.set_visible(False)
Expand Down
2 changes: 1 addition & 1 deletion starlink/ast/test/test_atl.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
from __future__ import print_function

try:
from astrop.io import fits as pyfits
from astropy.io import fits as pyfits
except ImportError:
import pyfits
import starlink.Atl as Atl
Expand Down