Skip to content

Commit

Permalink
Include ghosts in get_gathered_phi() for plotting
Browse files Browse the repository at this point in the history
  • Loading branch information
EtherealMC-Bit committed Jul 21, 2021
1 parent d6c943f commit 280df77
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mewarpx/mewarpx/plotting.py
Original file line number Diff line number Diff line change
Expand Up @@ -622,7 +622,7 @@ def plot_parameters(what_to_plot, plot_name, diag_step=None):
cmap='viridis', plot_name="rho_" + plot_name
)
elif param == 'phi':
data = np.array(mwxrun.get_gathered_phi_grid(include_ghosts=False)[0])
data = np.array(mwxrun.get_gathered_phi_grid()[0])

fig, ax = plt.subplots(1, 1, figsize=(14, 14))
ArrayPlot(
Expand Down

0 comments on commit 280df77

Please sign in to comment.