# How to use matplotlib in julia? without using python backend?

**URL:** <https://discourse.julialang.org/t/how-to-use-matplotlib-in-julia-without-using-python-backend/39270>\
**Category:** General Usage\
**Tags:** question, package, plotting, matlab\
**Created:** [May 11, 2020, 9:32am UTC](https://discourse.julialang.org/t/how-to-use-matplotlib-in-julia-without-using-python-backend/39270 "2020-05-11T09:32:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Neeraj\_Verma\_ASETRAI](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/neeraj_verma_asetrai/32/13743_2.png) [@Neeraj\_Verma\_ASETRAI](https://discourse.julialang.org/u/Neeraj_Verma_ASETRAI)\
**Post date:** [May 11, 2020, 9:32am UTC](https://discourse.julialang.org/t/how-to-use-matplotlib-in-julia-without-using-python-backend/39270/1 "2020-05-11T09:32:04Z")

</div>

How i can use matplotlib graph plotting tool with julia native without using any python backend? please help me out…

---

<div class="post-metadata">

**Author:** ![tamasgal](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tamasgal/32/27946_2.png) [@tamasgal](https://discourse.julialang.org/u/tamasgal)\
**Post date:** [May 11, 2020, 9:39am UTC](https://discourse.julialang.org/t/how-to-use-matplotlib-in-julia-without-using-python-backend/39270/2 "2020-05-11T09:39:10Z")

</div>

Matplotlib is written in Python, there is no way to run it without Python.

…but maybe there is some other misunderstanding? Do you maybe mean “How to create a plot in Julia without a Python backend?”?  
In this case, you can try [PGFPlotsX](https://github.com/KristofferC/PGFPlotsX.jl), or [Plots.jl](https://github.com/JuliaPlots/Plots.jl) with different backends (GR, plotly, …), there is also [Makie.jl](https://github.com/JuliaPlots/Makie.jl)…

---

<div class="post-metadata">

**Author:** ![tlienart](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/tlienart/32/7640_2.png) [@tlienart](https://discourse.julialang.org/u/tlienart)\
**Post date:** [May 11, 2020, 12:39pm UTC](https://discourse.julialang.org/t/how-to-use-matplotlib-in-julia-without-using-python-backend/39270/3 "2020-05-11T12:39:01Z")

</div>

Most of the plotting libraries apart from a few (Makie notably) call some backend in another language such as GR, Matplotlib, PGF, Gnuplot, VegaLite, Plotly, but why would that be an issue if they work well and the overhead of calling an external lib from Julia is limited?  
Also just to make sure, [PyPlot.jl](https://github.com/JuliaPy/PyPlot.jl) does not require you to write any python code, it calls python code for you but you can pass Julia objects to it. It might be obvious to you but I’m not sure.
