fillplots – Library to plot regions and boundaries given inequalities¶
fillplots
is a library to plot regions and boundaries given
systems of inequality. Here is a simple example to fill region like
a piece of pie.
>>> from fillplots import plot_regions
>>> plot_regions([
... [(lambda x: (1.0 - x ** 2) ** 0.5, True),
... (lambda x: x,)]
... ], xlim=(0, 1), ylim=(0, 1))
<fillplots.api.Plotter object at 0x...>
See documentation and examples for more information.
You can install fillplots
from PyPI:
pip install fillplots
License¶
fillplots is licensed under the terms of the BSD 2-Clause License. See the COPYING for more information.
More resources¶
- fillplots API
- Examples
- Simple example (
simple.py
) - Two regions (
two.py
) - Specifying limits (
limits.py
) - Configure interface (
config_inheritance.py
) - Draw complex region (
switching.py
) - Use of boundary object (
switching_uniq_boundary.py
) - How to set region color (
switching_region_color.py
) - Show which direction makes it positive (
positive_direction.py
) - Show boundary labels (
boundary_labels.py
) - How to annotate regions (
annotate_regions.py
) - Annotations with discontinuous regions (
divide_regions.py
)
- Simple example (