Skip to content

Commit

Permalink
fix errors
Browse files Browse the repository at this point in the history
  • Loading branch information
rieder committed Feb 8, 2022
1 parent eea42fc commit a6d5826
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/amuse/plot/plot_hydro.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
import matplotlib.pyplot as plt
# import matplotlib.cm as cm

import numpy
from amuse.datamodel import Particles
from amuse.io import read_set_from_file
from amuse.units import units, nbody_system
Expand Down Expand Up @@ -406,8 +405,7 @@ def new_argument_parser():
parser.add_argument(
'--length',
dest='length_unit',
# default='parsec',
default='kpc',
default='parsec',
help='Length unit (default: parsec)',
)
return parser.parse_args()
Expand Down Expand Up @@ -511,7 +509,7 @@ def xyz_to_yzx():
xyz_to_yzx()

for plot in plots:
figure, ax = plot_hydro_and_stars(
gasplot = plot_hydro_and_stars(
maps,
title="time = %06.2f %s" % (
time.value_in(units.Myr),
Expand Down

4 comments on commit a6d5826

@ipelupessy
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

what does the warning: "This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository." mean?

@rieder
Copy link
Member Author

@rieder rieder commented on a6d5826 Feb 8, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting. This is part of the "add_mapper" branch in my fork. No idea why it shows up with this "warning".

@ipelupessy
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

hmm, would check your branches and remotes...

@ipelupessy
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

..did you try to push another commit?

Please sign in to comment.