Checkbox filtering too narrow
anders-kiaer opened this issue · 0 comments
anders-kiaer commented
The checkbox in FilteredPlotly
looks a bit rough.
- Quite a lot of white space to the right of it.
- When scrolling bar is present, it breaks the names over multiple lines (--> less readable)
Code to reproduce:
from webviz import Webviz, Page
from webviz.page_elements import LineChart
import pandas as pd
web = Webviz('Line Chart Example')
page = Page('Line Chart')
line1 = [10, 15, 13, 17]
line2 = [16, 5, 11, 9]
lines = pd.DataFrame({
'Field gas rate': line1,
'Water rate well A-1H': line2,
'Water rate well A-2H': line2,
'Water rate well A-3H': line2,
'Water rate well A-4H': line2,
'Water rate well B-1H': line2,
})
page.add_content(LineChart(lines, check_box=True))
web.add(page)
web.write_html("./webviz_example", overwrite=True, display=True)