v.0.10.4

On 2022.11.29

This version has been deprecated. If used with the current API version it can produce unexpected behaviour or errors.

The package shimoku-api-python is no longer maintained

To get the new version 🚀

pip install --upgrade shimoku-api-python

This version and the next are meant to stabilize the SDK and fix all the loose ends that we have seen until now. The majority of changes are fixes, but big functionalities are coming soon!

Fixes

  • Fixed the alignment of the yAxis of plots when a big number of digits was used, also making the heatmaps work again.

  • The tables don't ignore the cols_size parameter and behave as the other plots with the grid.

  • The function s.plt.set_sub_path_orders() is not limited anymore to strings in url format, so uppercase and spaces are now functional.

  • Fixed the function s.app.get_app_by_name() so that it doesn't break when using a string in url format.

  • Now plots with filters can overwrite correctly the reports that were in its place previously, so that it doesn't need to be deleted by hand.

  • The indicators can have different names for it's fields and they will work correctly. For example, these two indicators work as expected:

    indicator_1 = {
            'value': value,
            'title': 'Title',
            'description': 'description',
            'color': 'warning-background'
            }
            
    s.plt.indicator(
        data=indicator_1,
        menu_path=menu_path,
        order=0, rows_size=1, cols_size=6,
        value='value',
        header='title',
        footer='description',
        color='color'
    )
    
    indicator_2 = {
            'val': value,
            'header': 'Title',
            'footer': 'description',
            'col': 'warning-background'
            }
            
    s.plt.indicator(
        data=primary_total_indicator,
        menu_path=menu_path,
        order=1, rows_size=1, cols_size=6,
        value='val',
        header='header',
        footer='footer',
        color='col'
    )

Improvements

Labels and suffixes have been added to tables!

  • Suffixes let the user add any string of text at the end of the values of a given column, it's useful for unit notation.

  • Labels make the data stand out by wrapping it with a user defined color and shape.

This brings a lot of flexibility on how to show information with our tables. It is now possible to create tables such as:

Last updated