marcossuzuki commited on
Commit
2b7bcf8
·
verified ·
1 Parent(s): 030fff5

change tag->rotulo in three_plot

Browse files
Files changed (1) hide show
  1. 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="tag",)
102
- fig_histogram = px.histogram(df, x=df.index, color='tag', nbins=20,)
103
- fig_box = px.box(df, x='tag', y="score", color='tag',)
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': ''}}