Skip to content

Commit

Permalink
Another fix on hist viz.
Browse files Browse the repository at this point in the history
  • Loading branch information
sampottinger committed Dec 20, 2024
1 parent d14d07a commit 8b4816e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions paper/viz/hist_viz.py
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@ def _draw_top_claims(self, claims):
self._sketch.set_text_font(const.FONT_SRC, 11)

is_catastrophic = self._target_threshold == '75% cov'
max_val = 35 if is_catastrophic else 40
max_val = 35 if is_catastrophic else 45

y = SUB_CHART_HEIGHT - self._get_y(15)
start_x = self._get_x(-100) - 5
Expand Down Expand Up @@ -757,7 +757,7 @@ def _draw_bottom_claims(self, claims):
self._sketch.set_text_font(const.FONT_SRC, 11)

is_catastrophic = self._target_threshold == '75% cov'
max_val = 35 if is_catastrophic else 40
max_val = 35 if is_catastrophic else 45

y = self._get_y(15)
start_x = self._get_x(-100)
Expand Down

0 comments on commit 8b4816e

Please sign in to comment.