Skip to content

0.47.0

Choose a tag to compare

@github-actions github-actions released this 27 Nov 03:49
· 5 commits to develop since this release
a6e3777

Release notes for sbmlsim 0.47.0

sbmlsim

The chart builder draws the figures of the second wave of pkdb_models as matplotlib draws them, on sbmlsim-core 0.33.0: error bars of two sides, contours, arrows, inset plots, coloured frames, stacked bars, rotated and boxed texts, several legends per panel.

Features

  • Error bars of two sides (#686): xerr, yerr of curve and err of bar take (low, high) or {"low": ..., "high": ...}, a value which is not finite a side which is not drawn.
  • ChartPlot.contour(x, y, values, levels, filled=, scale=, low=, high=, center=, log=, gamma=, labels=, label_size=): contour lines with labels inline (labels=True writes the levels %g) or filled bands; the scale spans the levels by default, as matplotlib's norm of a ContourSet.
  • ChartPlot.arrow(x, y, x_from, y_from, head=, head_length=, head_width=, body=, shrink=, text=, ...): matplotlib's annotate.
  • Texts: rotation, baseline, box, loc (x and y None), coordinates, clip; curve and polygon take coordinates and clip too.
  • Plots: x2 (a top axis), frame_color, frame_width, inset=(host, (x, y, width, height)), legend_anchor, legends, legend_tuples.
  • Axes: ChartAxis(tick_label_color=), one colour or one per tick or category.
  • Stacks and boxes: base of bar and histogram, line/width of a histogram (the edges of its bars), median_color and whisker_opacity of box.
  • Colour bars: extend, rows, gamma, the placements strip and panel; heatmap(gamma=).
  • Chart: legends of the figure (right, bottom), row_titles, the fonts plot_title_weight, colorbar_label, legend_family.
  • Markers: octagon, tri_down, tri_up, tri_left, tri_right in MARKERS.

Changes

  • sbmlsim-core 0.33.0 (#686). Its log axes have the ticks, minor ticks and labels of matplotlib, a legend at best goes where matplotlib puts it, histograms and heatmaps have no seams, and a grid of thin rows keeps its layout.