Spaces:
Sleeping
Sleeping
change tag->rotulo in three_plot
Browse files- src/datashap/DataSHAP.py +3 -3
src/datashap/DataSHAP.py
CHANGED
|
@@ -98,9 +98,9 @@ class DataSHAP:
|
|
| 98 |
shared_xaxes=True, shared_yaxes=True,
|
| 99 |
row_heights=[0.4, 0.6], column_widths=[0.8, 0.2])
|
| 100 |
|
| 101 |
-
fig_scatter = px.scatter(df, x=df.index, y=['score'], color="
|
| 102 |
-
fig_histogram = px.histogram(df, x=df.index, color='
|
| 103 |
-
fig_box = px.box(df, x='
|
| 104 |
|
| 105 |
fig_scatter.data[1]['marker']={'color': '#000007'}
|
| 106 |
fig_histogram.data[1]['marker']={'color': '#000007', 'pattern': {'shape': ''}}
|
|
|
|
| 98 |
shared_xaxes=True, shared_yaxes=True,
|
| 99 |
row_heights=[0.4, 0.6], column_widths=[0.8, 0.2])
|
| 100 |
|
| 101 |
+
fig_scatter = px.scatter(df, x=df.index, y=['score'], color="rotulo",)
|
| 102 |
+
fig_histogram = px.histogram(df, x=df.index, color='rotulo', nbins=20,)
|
| 103 |
+
fig_box = px.box(df, x='rotulo', y="score", color='rotulo',)
|
| 104 |
|
| 105 |
fig_scatter.data[1]['marker']={'color': '#000007'}
|
| 106 |
fig_histogram.data[1]['marker']={'color': '#000007', 'pattern': {'shape': ''}}
|