Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MLAir
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
esde
machine-learning
MLAir
Merge requests
!225
Resolve "release v1.2.0"
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Resolve "release v1.2.0"
release_v1.2.0
into
master
Overview
0
Commits
96
Pipelines
3
Changes
2
Merged
Ghost User
requested to merge
release_v1.2.0
into
master
4 years ago
Overview
0
Commits
96
Pipelines
3
Changes
2
Expand
Closes
#257 (closed)
Edited
4 years ago
by
Ghost User
0
0
Merge request reports
Viewing commit
389f5b2f
Prev
Next
Show latest version
2 files
+
6
−
3
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
389f5b2f
create two versions of the station map, set defaut color for train_val to black for now
· 389f5b2f
leufen1
authored
4 years ago
mlair/plotting/postprocessing_plotting.py
+
3
−
3
Options
@@ -120,7 +120,7 @@ class AbstractPlotClass:
"""
Standard colors used for train-, val-, and test-sets during postprocessing
"""
colors
=
{
"
train
"
:
"
#e69f00
"
,
"
val
"
:
"
#009e73
"
,
"
test
"
:
"
#56b4e9
"
}
# hex code
colors
=
{
"
train
"
:
"
#e69f00
"
,
"
val
"
:
"
#009e73
"
,
"
test
"
:
"
#56b4e9
"
,
"
train_val
"
:
"
#000000
"
}
# hex code
return
colors
@@ -242,7 +242,7 @@ class PlotStationMap(AbstractPlotClass):
:width: 400
"""
def
__init__
(
self
,
generators
:
List
,
plot_folder
:
str
=
"
.
"
):
def
__init__
(
self
,
generators
:
List
,
plot_folder
:
str
=
"
.
"
,
plot_name
=
"
station_map
"
):
"""
Set attributes and create plot.
@@ -250,7 +250,7 @@ class PlotStationMap(AbstractPlotClass):
as value.
:param plot_folder: path to save the plot (default: current directory)
"""
super
().
__init__
(
plot_folder
,
"
station_map
"
)
super
().
__init__
(
plot_folder
,
plot_name
)
self
.
_ax
=
None
self
.
_gl
=
None
self
.
_plot
(
generators
)
Loading