plotly / dash-bio

Open-source bioinformatics components for Dash
https://dash-gallery.plotly.host/Portal/?search=Bioinformatics
MIT License
531 stars 192 forks source link

Add resizing plot feature and created tests for this feature. #579

Closed nickmelnikov82 closed 3 years ago

nickmelnikov82 commented 3 years ago

Closes #545

About

I am adding a feature to an existing component.

Description of changes

Create a new feature. I added height and width properties to the NeedlePlot component and fragment. In the NeedlePlot component, I add height and width properties as well set them. In the NeedlePlot component, I gave the div and plot component these properties. Also, I created tests for checking that these properties work as expected.