# Possibility to select one point in facet-grid plot by a table

**URL:** <https://community.plotly.com/t/possibility-to-select-one-point-in-facet-grid-plot-by-a-table/19853>\
**Category:** Dash Python\
**Created:** [February 20, 2019, 3:33pm UTC](https://community.plotly.com/t/possibility-to-select-one-point-in-facet-grid-plot-by-a-table/19853 "2019-02-20T15:33:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Christophe](https://avatars.discourse-cdn.com/v4/letter/c/848f3c/32.png) [@Christophe](https://community.plotly.com/u/Christophe)\
**Post date:** [February 20, 2019, 3:33pm UTC](https://community.plotly.com/t/possibility-to-select-one-point-in-facet-grid-plot-by-a-table/19853/1 "2019-02-20T15:33:53Z")

</div>

Hello,

Is it possible to select one point in facet-grid plot throught a dash-table-experiments ?  
I created a figure as follow:  
@app.callback(Output(“facet-grid”, “figure”),  
[Input(“AC-dropdown”, “value”),  
Input(“FG-dropdown”, “value”),  
Input(“PN-dropdown”, “value”),  
Input(“cpu\_val”, “value”),  
Input(“checklist”, “values”),  
Input(“my\_datatable”,“rows”),  
Input(“my\_datatable”,“selected\_row\_indices”)],  
[State(‘facet-grid’, ‘figure’)])  
def redrawGraph(x, y, color, size, checklist, rows, selected\_row\_indices, prevLayout):  
df2 = pd.DataFrame(rows)  
trace = ‘scattergl’  
marker = {‘size’:[5].len(df2[‘VALUE’])}  
for i in (selected\_row\_indices or []):  
marker[‘size’][i] = 20

```
if (selected_row_indices):
   print("table:",df2.iloc[selected_row_indices])

fig1 = ff.create_facet_grid(
    df2,
    x='VALUE',
    y='PART',
    trace_type='scattergl',
    marker = marker,

```

etc…

But with this case, when I select one row in my table, I have this point (size 20) on the 6 facets and not only one facet.  
Could you explain how increase the size of the point selected in my table but only one facet ?  
Thanks,  
Regards,
