Skip to content

Commit

Permalink
Updated the look of the quick 'view_BLAH_distribution' methods of the…
Browse files Browse the repository at this point in the history
… profile classes.
  • Loading branch information
DavidT3 committed Nov 21, 2024
1 parent 160dab2 commit 189b2dd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xga/products/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -2758,7 +2758,7 @@ def view_mass_dist(self, radius: Quantity, conf_level: float = 68.2, figsize: Tu
ax.yaxis.set_ticklabels([])

# Plot the histogram and set up labels
plt.hist(hy_dist.value, bins=bins, color=colour, alpha=0.7, density=False, histtype='step')
plt.hist(hy_dist.value, bins=bins, color=colour, alpha=0.7, density=False)
plt.xlabel(self._y_axis_name + r" \left[M$_{\odot}\right]$", fontsize=14)
plt.title("Mass Distribution at {}".format(radius.to_string()))

Expand Down

0 comments on commit 189b2dd

Please sign in to comment.