change: remove basemap coast;add: light curve kwargs
This commit is contained in:
parent
95923512bc
commit
3aea28b6dc
@ -88,7 +88,7 @@ class EarthPlot(GbmPlot):
|
|||||||
urcrnrlat=lat_range[1], llcrnrlon=lon_range[0],
|
urcrnrlat=lat_range[1], llcrnrlon=lon_range[0],
|
||||||
urcrnrlon=lon_range[1], lat_ts=0, resolution='c',
|
urcrnrlon=lon_range[1], lat_ts=0, resolution='c',
|
||||||
ax=self._ax)
|
ax=self._ax)
|
||||||
self._m.drawcoastlines()
|
# self._m.drawcoastlines()
|
||||||
self._m.drawparallels(np.arange(-90., 91., 30.), labels=[1, 0, 0, 0],
|
self._m.drawparallels(np.arange(-90., 91., 30.), labels=[1, 0, 0, 0],
|
||||||
fontsize=12)
|
fontsize=12)
|
||||||
self._m.drawmeridians(np.arange(-180., 181., 30.), labels=[0, 0, 0, 1],
|
self._m.drawmeridians(np.arange(-180., 181., 30.), labels=[0, 0, 0, 1],
|
||||||
|
@ -103,7 +103,7 @@ class Lightcurve(GbmPlot):
|
|||||||
def selections(self):
|
def selections(self):
|
||||||
return self._selections
|
return self._selections
|
||||||
|
|
||||||
def set_data(self, data):
|
def set_data(self, data, **kwargs):
|
||||||
"""Set the lightcurve plotting data. If a lightcurve already exists,
|
"""Set the lightcurve plotting data. If a lightcurve already exists,
|
||||||
this triggers a replot of the lightcurve.
|
this triggers a replot of the lightcurve.
|
||||||
|
|
||||||
@ -112,6 +112,7 @@ class Lightcurve(GbmPlot):
|
|||||||
The lightcurve data to plot
|
The lightcurve data to plot
|
||||||
"""
|
"""
|
||||||
lc_color, lc_alpha, lc_kwargs = self._lc_settings()
|
lc_color, lc_alpha, lc_kwargs = self._lc_settings()
|
||||||
|
lc_kwargs.update(kwargs)
|
||||||
self._lc = Histo(data, self._ax, color=lc_color, alpha=lc_alpha,
|
self._lc = Histo(data, self._ax, color=lc_color, alpha=lc_alpha,
|
||||||
**lc_kwargs)
|
**lc_kwargs)
|
||||||
eb_color, eb_alpha, eb_kwargs = self._eb_settings()
|
eb_color, eb_alpha, eb_kwargs = self._eb_settings()
|
||||||
|
Reference in New Issue
Block a user