Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Q
QuickStats
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Requirements
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
Alkaid Cheng
QuickStats
Merge requests
!24
Update plotting
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Update plotting
plot_update
into
master
Overview
0
Commits
1
Pipelines
0
Changes
2
Merged
Rui Zhang
requested to merge
plot_update
into
master
2 years ago
Overview
0
Commits
1
Pipelines
0
Changes
2
Expand
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
391e2fa3
1 commit,
2 years ago
2 files
+
4
−
4
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
2
Search (e.g. *.vue) (Ctrl+P)
quickstats/plots/likelihood_2D_plot.py
+
2
−
2
Options
@@ -104,10 +104,10 @@ class Likelihood2DPlot(AbstractPlot):
cmap
=
config
[
'
cmap
'
]
ax
.
pcolormesh
(
X
,
Y
,
Z
,
cmap
=
cmap
,
shading
=
'
auto
'
)
cp
=
ax
.
contour
(
X
,
Y
,
Z
,
levels
=
levels
,
colors
=
colors
,
linestyles
=
linestyles
,
linewidths
=
2
)
linestyles
=
linestyles
,
linewidths
=
3
)
if
clabel_size
is
not
None
:
ax
.
clabel
(
cp
,
inline
=
True
,
fontsize
=
clabel_size
)
custom_handles
=
[
Line2D
([
0
],
[
0
],
color
=
color
,
linestyle
=
linestyle
,
lw
=
2
,
label
=
label
)
for
color
,
key
,
label
,
linestyle
in
zip
(
custom_handles
=
[
Line2D
([
0
],
[
0
],
color
=
color
,
linestyle
=
linestyle
,
lw
=
3
,
label
=
label
)
for
color
,
key
,
label
,
linestyle
in
zip
(
config
[
'
sigma_colors
'
],
config
[
'
sigma_levels
'
],
config
[
'
sigma_names
'
],
config
[
'
sigma_linestyles
'
])]
self
.
update_legend_handles
(
dict
(
zip
(
config
[
'
sigma_names
'
],
custom_handles
)))
Loading