Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
BornAgain
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
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mlz
BornAgain
Commits
a5de7bb3
Commit
a5de7bb3
authored
1 year ago
by
Wuttke, Joachim
Browse files
Options
Downloads
Patches
Plain Diff
repair legend in example VsGenx (
#748
)
parent
3618689b
No related branches found
No related tags found
1 merge request
!1999
Plot statement bp.show_or_export() or plt.show() no longer implied by high-level plot fcts (#748)
Pipeline
#114106
canceled
1 year ago
Stage: build
Changes
3
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
auto/Examples/specular/VsGenx.py
+1
-1
1 addition, 1 deletion
auto/Examples/specular/VsGenx.py
auto/MiniExamples/specular/VsGenx.py
+1
-1
1 addition, 1 deletion
auto/MiniExamples/specular/VsGenx.py
rawEx/specular/VsGenx.py
+1
-1
1 addition, 1 deletion
rawEx/specular/VsGenx.py
with
3 additions
and
3 deletions
auto/Examples/specular/VsGenx.py
+
1
−
1
View file @
a5de7bb3
...
@@ -60,5 +60,5 @@ if __name__ == '__main__':
...
@@ -60,5 +60,5 @@ if __name__ == '__main__':
simulation
=
get_simulation
(
sample
)
simulation
=
get_simulation
(
sample
)
result
=
simulation
.
simulate
()
result
=
simulation
.
simulate
()
bp
.
plot_simulation_result
(
result
)
bp
.
plot_simulation_result
(
result
)
bp
.
show_or_export
()
plt
.
legend
([
'
GenX
'
,
'
BornAgain
'
],
loc
=
'
upper right
'
)
plt
.
legend
([
'
GenX
'
,
'
BornAgain
'
],
loc
=
'
upper right
'
)
bp
.
show_or_export
()
This diff is collapsed.
Click to expand it.
auto/MiniExamples/specular/VsGenx.py
+
1
−
1
View file @
a5de7bb3
...
@@ -60,5 +60,5 @@ if __name__ == '__main__':
...
@@ -60,5 +60,5 @@ if __name__ == '__main__':
simulation
=
get_simulation
(
sample
)
simulation
=
get_simulation
(
sample
)
result
=
simulation
.
simulate
()
result
=
simulation
.
simulate
()
bp
.
plot_simulation_result
(
result
)
bp
.
plot_simulation_result
(
result
)
bp
.
show_or_export
()
plt
.
legend
([
'
GenX
'
,
'
BornAgain
'
],
loc
=
'
upper right
'
)
plt
.
legend
([
'
GenX
'
,
'
BornAgain
'
],
loc
=
'
upper right
'
)
bp
.
show_or_export
()
This diff is collapsed.
Click to expand it.
rawEx/specular/VsGenx.py
+
1
−
1
View file @
a5de7bb3
...
@@ -60,5 +60,5 @@ if __name__ == '__main__':
...
@@ -60,5 +60,5 @@ if __name__ == '__main__':
simulation
=
get_simulation
(
sample
)
simulation
=
get_simulation
(
sample
)
result
=
simulation
.
simulate
()
result
=
simulation
.
simulate
()
bp
.
plot_simulation_result
(
result
)
bp
.
plot_simulation_result
(
result
)
bp
.
show_or_export
()
plt
.
legend
([
'
GenX
'
,
'
BornAgain
'
],
loc
=
'
upper right
'
)
plt
.
legend
([
'
GenX
'
,
'
BornAgain
'
],
loc
=
'
upper right
'
)
bp
.
show_or_export
()
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment