Commit 65aa95cf authored by Theo Steininger's avatar Theo Steininger
Browse files

Renamed Plot -> ScatterPlot and moved the file.

parent 5d23df47
Pipeline #11921 failed with stage
in 10 minutes and 7 seconds
# -*- coding: utf-8 -*-
from abc import abstractmethod
from nifty.plotting.plots.plot import Plot
from scatter_plot import ScatterPlot
class Cartesian(Plot):
class Cartesian(ScatterPlot):
def __init__(self, x, y, label, line, marker):
super(Cartesian, self).__init__(label, line, marker)
self.x = x
......
from nifty.plotting.plots.plot import Plot
from scatter_plot import ScatterPlot
class Geo(Plot):
class Geo(ScatterPlot):
def __init__(self, lon, lat, label='', line=None, marker=None,
proj='mollweide'):
"""
......
......@@ -4,7 +4,8 @@ from abc import abstractmethod
from nifty.plotting.plotly_wrapper import PlotlyWrapper
from nifty.plotting.descriptors import Marker
class Plot(PlotlyWrapper):
class ScatterPlot(PlotlyWrapper):
def __init__(self, label, line, marker):
self.label = label
self.line = line
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment