2

Does anybody know about module fillplots (http://fillplots.readthedocs.org)? I've successfully installed it but when I run some simple code from http://fillplots.readthedocs.org/en/latest/examples.html

from fillplots import plot_regions
plotter = plot_regions([
    [(lambda x: x ** 2,),  # x ^ 2 > 0 and
     (lambda x: x + 5,)],  # x + 5 > 0
]) 

nothing happens. How I can see that picture? The documentation of the package is quite poor, and I don't know what else I should do. Is there any other ways to plot the region that is the solution of a given system of inequalities?

1 Answer 1

2

If you import pyplot beforehand

import matplotlib.pyplot as plt

then after you've called plotter you can do

plt.show()

and the plot will show.

Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.