Deselction of datapoints

Is there a way in which I can deselect some range of datapoints (that is I dont want that range of data points to be displayed ) ?

Hmm.

The easiest way to do this would be to filter out the unwanted data points before calling sending them plotly.

Thanks for your reply :slight_smile:
Isnโ€™t there some inbuilt function โ€ฆ for eg โ€œrangeโ€ allowed selection of specific range in x and y direction , does somethnig similar exist for deselection ?

You can set the axis range via layout.xaxis.range and layout.yaxis.range, but no plotly does not have a built-in data-range filter function.

Thanks :slight_smile: So can I have intersection of range like :

layout.xaxis.range= ([1,3] ) (union) ( [7,9] )

This will allow me to deselect (4,6) . Just asking if such syntax could be handled :slight_smile:

Not at the moment, unfortunately.

Thanks for quick resposes :slight_smile: