Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
NIFTy
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
15
Issues
15
List
Boards
Labels
Service Desk
Milestones
Merge Requests
15
Merge Requests
15
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ift
NIFTy
Commits
a014e614
Commit
a014e614
authored
Jul 23, 2017
by
Theo Steininger
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Now, only rank==0 produces plotly plots.
parent
c0b169f1
Pipeline
#15427
passed with stages
in 12 minutes and 25 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
11 deletions
+14
-11
nifty/plotting/plotter/plotter_base.py
nifty/plotting/plotter/plotter_base.py
+14
-11
No files found.
nifty/plotting/plotter/plotter_base.py
View file @
a014e614
...
...
@@ -86,15 +86,18 @@ class PlotterBase(Loggable, object):
for
field
in
fields
]
# create plots
if
rank
==
0
:
plots_list
=
[]
for
slice_list
in
utilities
.
get_slice_list
(
data_list
[
0
].
shape
,
axes
):
for
slice_list
in
utilities
.
get_slice_list
(
data_list
[
0
].
shape
,
axes
):
plots_list
+=
\
[[
self
.
plot
.
at
(
self
.
_parse_data
(
current_data
,
field
,
spaces
))
for
(
current_data
,
field
)
in
zip
(
data_list
,
fields
)]]
figures
=
[
self
.
figure
.
at
(
plots
,
title
=
title
)
for
plots
in
plots_list
]
figures
=
[
self
.
figure
.
at
(
plots
,
title
=
title
)
for
plots
in
plots_list
]
self
.
_finalize_figure
(
figures
,
path
=
path
)
...
...
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