Update my_pages/rashomon_effect.py
Browse files
my_pages/rashomon_effect.py
CHANGED
|
@@ -43,7 +43,7 @@ def render():
|
|
| 43 |
ax.patch.set_alpha(0)
|
| 44 |
|
| 45 |
# Decision boundary
|
| 46 |
-
if
|
| 47 |
if boundary_type == "vertical":
|
| 48 |
ax.axvline(65, color='blue', linestyle='--')
|
| 49 |
ax.fill_betweenx(np.arange(min(y), max(y)), 65, max(x), alpha=0.1, color='green')
|
|
|
|
| 43 |
ax.patch.set_alpha(0)
|
| 44 |
|
| 45 |
# Decision boundary
|
| 46 |
+
if boundary_type is not None:
|
| 47 |
if boundary_type == "vertical":
|
| 48 |
ax.axvline(65, color='blue', linestyle='--')
|
| 49 |
ax.fill_betweenx(np.arange(min(y), max(y)), 65, max(x), alpha=0.1, color='green')
|