# 9. Compatibility `gsplot` is compatible with [matplotlib](https://matplotlib.org/). This means that you can use `gsplot` in combination with `matplotlib`. In the following example, we show how to use `gsplot` in combination with `matplotlib`. ## Example ### Code ```{literalinclude} ../../../demo/9_compatibility/compatibility.py ``` ### Plot ```{image} ../../../demo/9_compatibility/compatibility.png :alt: compatibility :class: bg-primary :width: 1000px :align: center ```