Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ift
NIFTy
Commits
65aa95cf
Commit
65aa95cf
authored
May 02, 2017
by
Theo Steininger
Browse files
Renamed Plot -> ScatterPlot and moved the file.
parent
5d23df47
Pipeline
#11921
failed with stage
in 10 minutes and 7 seconds
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
nifty/plotting/plots/scatter_plots/cartesian.py
View file @
65aa95cf
# -*- coding: utf-8 -*-
from
abc
import
abstractmethod
from
nifty.plotting.plots.
plot
import
Plot
from
scatter_
plot
import
Scatter
Plot
class
Cartesian
(
Plot
):
class
Cartesian
(
Scatter
Plot
):
def
__init__
(
self
,
x
,
y
,
label
,
line
,
marker
):
super
(
Cartesian
,
self
).
__init__
(
label
,
line
,
marker
)
self
.
x
=
x
...
...
nifty/plotting/plots/scatter_plots/geo.py
View file @
65aa95cf
from
nifty.plotting.plots.
plot
import
Plot
from
scatter_
plot
import
Scatter
Plot
class
Geo
(
Plot
):
class
Geo
(
Scatter
Plot
):
def
__init__
(
self
,
lon
,
lat
,
label
=
''
,
line
=
None
,
marker
=
None
,
proj
=
'mollweide'
):
"""
...
...
nifty/plotting/plots/plot.py
→
nifty/plotting/plots/
scatter_plots/scatter_
plot.py
View file @
65aa95cf
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment