pypi sbmlsim 0.43.0

48 minutes ago

Release notes for sbmlsim 0.43.0

sbmlsim

The chart builder draws what the custom matplotlib figures of pkdb_models need, on sbmlsim-core 0.30.0, and a legend stays inside its plot where matplotlib would put it.

Features

  • Legend locations (#674). legend_loc of FigureSettings, Chart and Chart.plot places a legend inside at a location of matplotlib (sbmlsim.plot.chart.LEGEND_LOCS): best, the default, the location of the least data, or a fixed one such as upper left, which the renderer keeps whatever data the legend covers. A figure which sets legend_loc no longer warns that the renderer ignores it.
  • The fields of the renderer of sbmlsim-core 0.30.0 in the chart builder (#674): ChartAxis(line_visible=False) hides the line of an axis; Chart.plot(aspect="equal") (or a positive number) makes a unit of y as long as a unit of x; error_cap of ChartPlot.curve and ChartPlot.bar draws the caps of the error bars; ChartPlot.heatmap(..., x_edges=..., y_edges=...) puts its cells between edges on numeric axes, so a space-time heatmap shares its time axis with a curve; ChartPlot.text(size=..., weight="bold"), and a text keeps its runs of spaces; a colour scale is any sequential or diverging map of matplotlib by its name in any case (Blues, PuRd, RdBu_r).

Changes

  • sbmlsim-core 0.30.0 (#674, #673 took 0.29.1). Its renderer keeps a legend inside however much data it covers, as matplotlib does, and moves it right of the plot only when it does not fit into the panel; before, a legend covering more than 5 % of its frame with data went outside. The axis lines, ticks and tick labels are a darker grey (#3b424d). A grid of many thin columns or rows fits its figure.

Fixes

  • sbmlsim-core 0.29.1 no longer reports a stall at a step which leaves the time unchanged (#673).

Don't miss a new sbmlsim release

NewReleases is sending notifications on new releases.