mgyigit commited on
Commit
578fe39
·
verified ·
1 Parent(s): 9ee7f43

Update src/vis_utils.py

Browse files
Files changed (1) hide show
  1. src/vis_utils.py +4 -4
src/vis_utils.py CHANGED
@@ -196,8 +196,8 @@ def plot_family_results(method_names, dataset, metric, family_path="/tmp/family_
196
  ax.xaxis.set_major_locator(ticker.MultipleLocator(0.2))
197
  ax.get_xaxis().set_minor_locator(ticker.AutoMinorLocator())
198
  ax.get_yaxis().set_minor_locator(ticker.AutoMinorLocator())
199
- ax.grid(b=True, which='major', color='gainsboro', linewidth=1.0)
200
- ax.grid(b=True, which='minor', color='whitesmoke', linewidth=0.5)
201
  ax.set_xlim(0, 1)
202
 
203
  # Draw dashed lines between different representations on y-axis
@@ -248,8 +248,8 @@ def plot_affinity_results(method_names, metric, affinity_path="/tmp/affinity_res
248
  ax.xaxis.set_major_locator(ticker.MultipleLocator(5))
249
  ax.get_xaxis().set_minor_locator(ticker.AutoMinorLocator())
250
  ax.get_yaxis().set_minor_locator(ticker.AutoMinorLocator())
251
- ax.grid(b=True, which='major', color='gainsboro', linewidth=1.0)
252
- ax.grid(b=True, which='minor', color='whitesmoke', linewidth=0.5)
253
 
254
  # Apply custom color settings to y-axis labels
255
  for label in ax.get_yticklabels():
 
196
  ax.xaxis.set_major_locator(ticker.MultipleLocator(0.2))
197
  ax.get_xaxis().set_minor_locator(ticker.AutoMinorLocator())
198
  ax.get_yaxis().set_minor_locator(ticker.AutoMinorLocator())
199
+ ax.grid(visible=True, which='major', color='gainsboro', linewidth=1.0)
200
+ ax.grid(visible=True, which='minor', color='whitesmoke', linewidth=0.5)
201
  ax.set_xlim(0, 1)
202
 
203
  # Draw dashed lines between different representations on y-axis
 
248
  ax.xaxis.set_major_locator(ticker.MultipleLocator(5))
249
  ax.get_xaxis().set_minor_locator(ticker.AutoMinorLocator())
250
  ax.get_yaxis().set_minor_locator(ticker.AutoMinorLocator())
251
+ ax.grid(visible=True, which='major', color='gainsboro', linewidth=1.0)
252
+ ax.grid(visible=True, which='minor', color='whitesmoke', linewidth=0.5)
253
 
254
  # Apply custom color settings to y-axis labels
255
  for label in ax.get_yticklabels():