Since you’ve tagged this question with sympy, I will give such an example.

From the documentation: http://docs.sympy.org/latest/modules/plotting.html.

```
from sympy import var, plot_implicit
var('x y')
plot_implicit(x*y**3 - y*x**3)
```

### Related Contents:

- Is it possible to plot implicit equations using Matplotlib?
- how to handle an asymptote/discontinuity with Matplotlib
- How do you change the size of figures drawn with Matplotlib?
- Generating a PNG with matplotlib when DISPLAY is undefined
- import module from string variable
- How to find the exact intersection of a curve (as np.array) with y==0?
- How to animate a scatter plot
- Make contour of scatter
- How can I set the ‘backend’ in matplotlib in Python?
- Break // in x axis of matplotlib [duplicate]
- plot a circle with pyplot
- Pandas – Plotting a stacked Bar Chart
- Saving interactive Matplotlib figures
- Plot a horizontal line on a given plot
- Format y axis as percent
- Setting Different Bar color in matplotlib Python [duplicate]
- How to make a 4d plot with matplotlib using arbitrary data
- Matplotlib log scale tick label number formatting
- matplotlib: overlay plots with different scales?
- How to give a pandas/matplotlib bar graph custom colors
- How do I fit a sine curve to my data with pylab and numpy?
- prevent plot from showing in jupyter notebook
- Python’s Matplotlib plotting in wrong order
- How do I change the figure size with subplots?
- A logarithmic colorbar in matplotlib scatter plot
- plotting results of hierarchical clustering on top of a matrix of data
- Fitting a Normal distribution to 1D data
- Axes class – set explicitly size (width/height) of axes in given units
- When I use matplotlib in jupyter notebook,it always raise ” matplotlib is currently using a non-GUI backend” error?
- How to draw a line with matplotlib?
- How to generate audio from a numpy array?
- Cleanest way to hide every nth tick label in matplotlib colorbar?
- Matplotlib: Adding an axes using the same arguments as a previous axes
- How to change legend size with matplotlib.pyplot
- matplotlib: plot multiple columns of pandas data frame on the bar chart
- Pyplot: vertical gradient fill under curve?
- Matplotlib – Move X-Axis label downwards, but not X-Axis Ticks
- I want to plot changes in monthly values from dataset spanning over few years with matplot.pylib, pandas
- Show decimal places and scientific notation on the axis
- Plot 3d surface with colormap as 4th dimension, function of x,y,z
- How can I connect scatter points in a 3D space?
- Matplotlib: display plot on a remote machine
- Parallel Coordinates plot in Matplotlib
- How to modify the navigation toolbar easily in a matplotlib figure window?
- ploting filled polygons in python
- Networkx: Overlapping edges when visualizing MultiGraph
- How to show two figures using matplotlib?
- increase the linewidth of the legend lines in matplotlib
- How to scale Seaborn’s y-axis with a bar plot
- using mpatches.Patch for a custom legend