jerome-white commited on
Commit
bd4de40
·
1 Parent(s): 8b9dd80

Revert x-axis tick marks

Browse files
Files changed (1) hide show
  1. app.py +5 -5
app.py CHANGED
@@ -12,7 +12,7 @@ import seaborn as sns
12
  import matplotlib.pyplot as plt
13
  from datasets import load_dataset
14
  from scipy.special import expit
15
- from matplotlib.ticker import MultipleLocator
16
 
17
  from hdinterval import HDI, HDInterval
18
 
@@ -152,10 +152,10 @@ class ComparisonPlotter(DataPlotter):
152
  alpha=0.15,
153
  color=color)
154
  ax.set_xlabel('Pr(M$_{1}$ \u003E M$_{2}$)')
155
- for i in ('x', 'y'):
156
- lim = getattr(ax, f'set_{i}lim')
157
- lim(-0.01, 1.01)
158
- ax.xaxis.set_major_locator(MultipleLocator(base=0.1, offset=0))
159
 
160
  try:
161
  ci_mid = self.hdi.at(0.5)
 
12
  import matplotlib.pyplot as plt
13
  from datasets import load_dataset
14
  from scipy.special import expit
15
+ # from matplotlib.ticker import MultipleLocator
16
 
17
  from hdinterval import HDI, HDInterval
18
 
 
152
  alpha=0.15,
153
  color=color)
154
  ax.set_xlabel('Pr(M$_{1}$ \u003E M$_{2}$)')
155
+ # for i in ('x', 'y'):
156
+ # lim = getattr(ax, f'set_{i}lim')
157
+ # lim(-0.01, 1.01)
158
+ # ax.xaxis.set_major_locator(MultipleLocator(base=0.1, offset=0))
159
 
160
  try:
161
  ci_mid = self.hdi.at(0.5)