Shimoku docs
Search…
⌃K

v.0.7

On 2022.07.12
To get the new version
🚀
pip install --upgrade shimoku-api-python
With a lot of focus in tables through this new version we have fixed and enhanced different behaviors of the tables thanks to all our users feedback
💟

Fixes

  • Tables without filters can now sort values
  • Tables can now be at any order of the grid (before they could only be in the order=0)
  • Tables have now horizontal scrolling for a large number of columns

Improvements

  • Order menu path and sub-paths is now possible.
To sort paths use set_apps_order()
apps_order: Dict = {'test': 0, 'more-test': 1}
shimoku.plt.set_apps_orders(apps_order)
To sort sub-paths use set_sub_path_order()
path_orders: Dict = {
'test/sub-path': 0,
'test/sub-path-2': 1,
'app2/sub-path-x': 0,
}
shimoku.plt.set_sub_path_orders()
  • Table search added
data_: List[Dict] = [
{'date': dt.date(2021, 1, 1), 'x': 5, 'y': 5, 'filtA': 'A', 'filtB': 'Z', 'name': 'Ana'},
{'date': dt.date(2021, 1, 2), 'x': 6, 'y': 5, 'filtA': 'B', 'filtB': 'Z', 'name': 'Laura'},
{'date': dt.date(2021, 1, 3), 'x': 4, 'y': 5, 'filtA': 'A', 'filtB': 'W', 'name': 'Audrey'},
{'date': dt.date(2021, 1, 4), 'x': 7, 'y': 5, 'filtA': 'B', 'filtB': 'W', 'name': 'Jose'},
{'date': dt.date(2021, 1, 5), 'x': 3, 'y': 5, 'filtA': 'A', 'filtB': 'Z', 'name': 'Jorge'},
]
filter_columns: List[str] = ['filtA', 'filtB']
search_columns: List[str] = ['name']
shimoku.plt.table(
data=data_,
menu_path='test/table-test',
order=1,
filter_columns=filter_columns,
sort_table_by_col={'date': 'asc'},
search_columns=search_columns,
)
That results in

New

pip install shimoku-components-catalog
And create stuff such as:

In memoriam

v0.7 in memoriam of Connery, Sean Connery. Liscence to plot.
Last modified 4mo ago