Skip to content

Commit

Permalink
[edit] Change diagnostic output plot design + animation
Browse files Browse the repository at this point in the history
  • Loading branch information
LouConreux committed Jan 10, 2025
1 parent feac75c commit b7099a3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lute/tasks/bayfai.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
import numpy as np
import numpy.typing as npt
import matplotlib.pyplot as plt # type: ignore
from matplotlib.transforms import Affine2D # type: ignore
import matplotlib.patches as patches # type: ignore
import pyFAI # type: ignore
from pyFAI.geometry import Geometry # type: ignore
Expand Down Expand Up @@ -1005,6 +1004,8 @@ def hist_and_compute_stats(self, powder, exp, run, ax):
ax.set_ylim([0, mean + 5 * std_dev])
ax.set_ylabel("Pixel Intensity")
ax.set_xlabel("Frequency")
ax.set_xticks([])
ax.set_xticklabels([])
ax.set_title(f"Histogram of Pixel Intensities \n for {exp} run {run}")
ax.legend(fontsize="x-small")

Expand Down

0 comments on commit b7099a3

Please sign in to comment.