We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using axhline, one can easily plot an infinite line:
axhline
def plot_line(ax, a, b, c, **kwargs): """Plots the solution to a x + b y = c.""" ax.axline((c / a, 0), (0, c / b), **kwargs)
It would be nice to have an easy way to plot an infinite half space:
def plot_half_space(ax, a, b, c): """Plots the solution to a x + b y ≥ c.""" ...
This could potentially be done by adding a HalfSpace patch to matplotlib.patches.
HalfSpace
matplotlib.patches
For an analogue, see Mathematica's HalfSpace and HalfPlane.
The text was updated successfully, but these errors were encountered:
This would be a reasonable feature. PRs welcome.
Sorry, something went wrong.
No branches or pull requests
Problem
Using
axhline
, one can easily plot an infinite line:It would be nice to have an easy way to plot an infinite half space:
Proposed solution
This could potentially be done by adding a
HalfSpace
patch tomatplotlib.patches
.For an analogue, see Mathematica's HalfSpace and HalfPlane.
The text was updated successfully, but these errors were encountered: