File: splitatvalue.txt

package info (click to toggle)
pyx3 0.17-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 5,328 kB
  • sloc: python: 27,656; makefile: 225; ansic: 130; sh: 17
file content (11 lines) | stat: -rw-r--r-- 692 bytes parent folder | download | duplicates (11)
1
2
3
4
5
6
7
8
9
10
11
Split axis at certain values

A typical use-case for a split axis is to use some special positions on the
axis to mark the axis breaks. ... For that the `splitatvalue` function is
available in all places, where expressions are evaluated in the `graph.data`
classes. Here we create a special parametric function where split positions for
the x axis are added by the `splitatvalue` function and the y function is a
simple polynomial of high order. Note that you can set several split positions
by additional parameters of the `splitatvalue` function. In that case
the `splitatvalue` function marks odd regions to be a "None", by which those
data values are ignored by the `splitaxis` instance.