diff options
author | lim <lim@stsci.edu> | 2012-05-30 13:51:59 -0400 |
---|---|---|
committer | lim <lim@stsci.edu> | 2012-05-30 13:51:59 -0400 |
commit | a169aa3bf8df847ef0d7b57a7b160fc2e4e89c89 (patch) | |
tree | dfd67dbdc24e04a0142a2dbf01abfb902a678b3e /lib/polygon.py | |
parent | 36d67e4de8460a57014f08432ced33b6d9e07cfd (diff) | |
download | stsci.sphere-a169aa3bf8df847ef0d7b57a7b160fc2e4e89c89.tar.gz |
lim fixed plot_args dict init bug
git-svn-id: http://svn.stsci.edu/svn/ssb/stsci_python/stsci_python/branches/sphere@17083 fe389314-cf27-0410-b35b-8c050e845b92
Former-commit-id: fa5dd948c0f9ed7bf8d051c6d5b01225e95b801e
Diffstat (limited to 'lib/polygon.py')
-rw-r--r-- | lib/polygon.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/polygon.py b/lib/polygon.py index b9b5d8c..8388e2a 100644 --- a/lib/polygon.py +++ b/lib/polygon.py @@ -665,7 +665,7 @@ class SphericalPolygon(object): if not len(self._points): return if not len(plot_args): - plot_args = {color: 'blue'} + plot_args = {'color': 'blue'} points = self._points ra, dec = vector.vector_to_radec( points[:, 0], points[:, 1], points[:, 2], @@ -676,4 +676,3 @@ class SphericalPolygon(object): *self._inside, degrees=True) x, y = m(ra, dec) m.scatter(x, y, 1, **plot_args) - |