# Interactive widget and dynamic selection plot failed

**URL:** <https://discourse.holoviz.org/t/interactive-widget-and-dynamic-selection-plot-failed/6434>\
**Category:** hvPlot\
**Created:** [November 19, 2023, 4:08pm UTC](https://discourse.holoviz.org/t/interactive-widget-and-dynamic-selection-plot-failed/6434 "2023-11-19T16:08:44Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![rh1](https://discourse.holoviz.org/letter_avatar_proxy/v4/letter/r/fbc32d/32.png) [@rh1](https://discourse.holoviz.org/u/rh1)\
**Post date:** [November 19, 2023, 4:08pm UTC](https://discourse.holoviz.org/t/interactive-widget-and-dynamic-selection-plot-failed/6434/1 "2023-11-19T16:08:44Z")

</div>

Dear all  
kindly please adise how to solve the problem when want to combine between interactive widget and dynamic selection plot:

```python
import pandas as pd
import panel as pn
import param
import hvplot.pandas
pn.extension(design="material")

df = pd.read_csv('https://datasets.holoviz.org/penguins/v1/penguins.csv')

species_widget = pn.widgets.Select(name="species", options=["Adelie", "Gentoo", "Chinstrap"])
year_widget = pn.widgets.IntSlider(name="year", start=2007, end=2009)

idf = param.rx(df)
idf = idf[(idf["species"] == species_widget) & (idf["year"] >= year_widget)]

co2_plot = idf.hvplot(x = 'bill_length_mm', by='species', y='year',line_width=2, title="Species Per Year",rasterize=True)
co2_plot

```

and i got:

```bash
WARNING:param.dynamic_operation: Callable raised "NotImplementedError('Unexpected dshape <function dshape at 0x000001E47E226EF0>')".
Invoked as dynamic_operation(height=300, scale=1.0, width=700, x_range=None, y_range=None)
WARNING:param.dynamic_operation: Callable raised "NotImplementedError('Unexpected dshape <function dshape at 0x000001E47E226EF0>')".
Invoked as dynamic_operation(height=300, scale=1.0, width=700, x_range=None, y_range=None)

```

basically I want there are many option for user the data, from widget selection, table or from plot itself and all of them can change iteractively.

thanks
