Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Dec 20, 2023
1 parent 6964fc4 commit 00f6605
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/pyFAI/benchmark/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -657,10 +657,10 @@ def init_curve(self):

# Display detector markers (vertical lines)
self.ax.vlines(
x=data_sizes,
ymin=self.ax.get_ylim()[0],
ymax=self.ax.get_ylim()[1],
linestyles='dashed',
x=data_sizes,
ymin=self.ax.get_ylim()[0],
ymax=self.ax.get_ylim()[1],
linestyles='dashed',
alpha=0.4,
colors='black',
)
Expand Down Expand Up @@ -692,7 +692,7 @@ def new_curve(self, results, label, style="-", marker="x"):
bbox_to_anchor=(1.05,0.5),
fontsize=10,
)
self.fig.subplots_adjust(right=0.5)
self.fig.subplots_adjust(right=0.5)
update_fig(self.fig)

def new_point(self, size, exec_time):
Expand Down Expand Up @@ -723,7 +723,7 @@ def display_all(self):

def display_detector_markers(self):
if not self.fig:
return
return

def update_mp(self):
"""
Expand Down

0 comments on commit 00f6605

Please sign in to comment.