Spaces:
Sleeping
Sleeping
Update src/vis_utils.py
Browse files- 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(
|
200 |
-
ax.grid(
|
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(
|
252 |
-
ax.grid(
|
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():
|