v.0.4
On 2022.02.15
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 🚀
Fixes
For the tables when you get to the last page there is not an extra page that shows nothing (this is fixed):
Fixed
predictive_line()
that was broken
Now the Shimoku API returns
201
instead of200
for successful requests.
Refactor
Breaking change: Gauge component
s.plt.gauge()
renamed ass.plt.ring_gauge()
Improvements
Now the Shimoku API paginates what makes possible to work with big chunks of data.
Now the table can be rendered sorted by a column by default. For instance for time-series tables they can be rendered by date.
Currently this feature can only be used for a single column of the table
Options are
asc
for ascending ordesc
for descending:
That is going to look by default sorted as follows:
New
Multifilter. Now you can define filters for any chart. Moreover it is a very easy operation. It can be used with:
line()
predictive_line()
bar()
horizontal_bar()
zero_centered_bar()
scatter()
sunburst()
candlestick()
funnel()
heatmap()
Imagine you have a dataset with the following backbone columns:
And a different set of metric columns such as:
You can create now charts that allow you to filter by the categorical columns to show the value columns easily. Note that you must specify the position of the filters and the chart:
You can also add afterwards new cases. Imagine you have a now a new values of section called Enfermedades
and you want to add this new dataset with the values for Enfermedades
, but keeping all the other options that you posted before. You can do that easily specifying in the filters 'update_filter_type': 'concat'
You can also connect multiple components from different grid positions to the multifilter. Suppose that you have another dataset_3 with the same filter_cols and filter values. You can connect that new component to the same multifilter. In general multifilters can be connected to any number of reports from the same path. You can do that easily specifying in the filters 'update_filter_type': 'append'
With all the changes above you can have the following (in this case we have the same dataset duplicated in two different barcharts for simplicity):
Current limitations of multifilter:
. append_data_to_trend_chart()
cannot be used for charts with multifilter.
. delete()
an existing specific multifilter combination is not possible yet.
. update an existing specific multifilter combination is not possible yet
. It cannot be applied to all the charts catalog yet.
New method
s.app_type.rename_app_type_by_old_name()
to rename Apps without theid
:
Speed Gauge Chart
You can also plug more than one speed gauge in the same component, nevertheless the user experience is, in general, not as good as to create two different speed gauge or a single one with filters (see multifilter above)
Last updated