# Why Plots.jl produce figures looks not as good as other packages even with pyplot

**URL:** <https://discourse.julialang.org/t/why-plots-jl-produce-figures-looks-not-as-good-as-other-packages-even-with-pyplot/74946>\
**Category:** New to Julia\
**Tags:** plotting, plots\
**Created:** [January 20, 2022, 4:27pm UTC](https://discourse.julialang.org/t/why-plots-jl-produce-figures-looks-not-as-good-as-other-packages-even-with-pyplot/74946 "2022-01-20T16:27:04Z")\
**Posts on this page:** 11\
**Page:** 2

<div class="post-metadata">

**Author:** ![Fred\_He](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fred_he/32/14298_2.png) [@Fred\_He](https://discourse.julialang.org/u/Fred_He)\
**Post date:** [January 21, 2022, 8:54am UTC](https://discourse.julialang.org/t/why-plots-jl-produce-figures-looks-not-as-good-as-other-packages-even-with-pyplot/74946/21 "2022-01-21T08:54:01Z")

</div>

My question is actually why the defaults of Plots.jl is not pretty. Despite personal preferences, who can say the defaults of Plots.jl is better than matplotlib ?

---

<div class="post-metadata">

**Author:** ![gustaphe](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gustaphe/32/18174_2.png) [@gustaphe](https://discourse.julialang.org/u/gustaphe)\
**Post date:** [January 21, 2022, 9:00am UTC](https://discourse.julialang.org/t/why-plots-jl-produce-figures-looks-not-as-good-as-other-packages-even-with-pyplot/74946/22 "2022-01-21T09:00:52Z")

</div>

Comparing your two plots, is say about half of the differences are advantage `Plots`, yes. But nobody is forcing you to use it if you don’t like it.

---

<div class="post-metadata">

**Author:** ![Fred\_He](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fred_he/32/14298_2.png) [@Fred\_He](https://discourse.julialang.org/u/Fred_He)\
**Post date:** [January 21, 2022, 9:10am UTC](https://discourse.julialang.org/t/why-plots-jl-produce-figures-looks-not-as-good-as-other-packages-even-with-pyplot/74946/23 "2022-01-21T09:10:43Z")

</div>

What are you talking about? You say that the defaults of Plots.jl is not pretty is the advantage?

---

<div class="post-metadata">

**Author:** ![aplavin](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/aplavin/32/222056_2.png) [@aplavin](https://discourse.julialang.org/u/aplavin)\
**Post date:** [January 21, 2022, 9:16am UTC](https://discourse.julialang.org/t/why-plots-jl-produce-figures-looks-not-as-good-as-other-packages-even-with-pyplot/74946/24 "2022-01-21T09:16:00Z")

</div>

As said multiple times in this thread, some of those differences are subjective. I personally prefer the grid and plot edges on Plots.jl plot.

---

<div class="post-metadata">

**Author:** ![BambOoxX](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/bambooxx/32/22179_2.png) [@BambOoxX](https://discourse.julialang.org/u/BambOoxX)\
**Post date:** [January 21, 2022, 9:19am UTC](https://discourse.julialang.org/t/why-plots-jl-produce-figures-looks-not-as-good-as-other-packages-even-with-pyplot/74946/25 "2022-01-21T09:19:48Z")

</div>

> [@Fred\_He](#):
>
> Despite personal preferences, who can say the defaults of Plots.jl is better than matplotlib ?

I really can’t see how can one answer to this. If it is not a matter of personal preference, how to tell if something looks better than something else …  
As @nilshg said you can set your own defaults, so what is the point of arguing over other defaults ?

Personally, even though I use Plots with different backends for the day to day work, when it comes to publication, I will always go to `pgfplots` either directly or through the various julia backends.

---

<div class="post-metadata">

**Author:** ![ptoche](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ptoche/32/23554_2.png) [@ptoche](https://discourse.julialang.org/u/ptoche)\
**Post date:** [January 21, 2022, 9:25am UTC](https://discourse.julialang.org/t/why-plots-jl-produce-figures-looks-not-as-good-as-other-packages-even-with-pyplot/74946/26 "2022-01-21T09:25:12Z")

</div>

I do prefer the gray box around the legend, rather than black, and it’s nice that the legend doesn’t overlap with the lines. Other than that, I prefer the Julia version: I prefer the larger font, the default grid lines, fewer tick marks, and the default non-boxed plot. It’s so easy to theme your plots, I really don’t know why you’re trying to push your tastes as a universal standard.

---

<div class="post-metadata">

**Author:** ![Fred\_He](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/fred_he/32/14298_2.png) [@Fred\_He](https://discourse.julialang.org/u/Fred_He)\
**Post date:** [January 21, 2022, 11:17am UTC](https://discourse.julialang.org/t/why-plots-jl-produce-figures-looks-not-as-good-as-other-packages-even-with-pyplot/74946/27 "2022-01-21T11:17:02Z")

</div>

I just wondering why people just cannot understand that the point is why Plots.jl doens’t provide better default.

---

<div class="post-metadata">

**Author:** ![carstenbauer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carstenbauer/32/4981_2.png) [@carstenbauer](https://discourse.julialang.org/u/carstenbauer)\
**Post date:** [January 21, 2022, 11:30am UTC](https://discourse.julialang.org/t/why-plots-jl-produce-figures-looks-not-as-good-as-other-packages-even-with-pyplot/74946/28 "2022-01-21T11:30:09Z")

</div>

Saying it one last time: “better” is largely subjective, so it’s questionable whether there actually is an objective problem with the Plots default to begin with (apart from the concrete points mentioned above).

(Also what would that “better new default” be? What if someone doesn’t like it? What would we do if he/she opened a thread like you saying that the ggplot defaults are much “better”? That’s why people argue for customizability because it’s the only way to making people happy. But apparently not everyone.)

---

<div class="post-metadata">

**Author:** ![carstenbauer](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/carstenbauer/32/4981_2.png) [@carstenbauer](https://discourse.julialang.org/u/carstenbauer)\
**Post date:** [January 21, 2022, 11:32am UTC](https://discourse.julialang.org/t/why-plots-jl-produce-figures-looks-not-as-good-as-other-packages-even-with-pyplot/74946/29 "2022-01-21T11:32:00Z")

</div>

And, BTW, personally I’ve always used matplotlib style sheets to specify my own “matplotlib default” because I’m not a huge fan of their default either. Again, customizability is much more important in particular when talking about publication quality plots (which often take a long time to prepare anyways).

---

<div class="post-metadata">

**Author:** ![mbauman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mbauman/32/31082_2.png) [@mbauman](https://discourse.julialang.org/u/mbauman)\
**Post date:** [January 21, 2022, 2:17pm UTC](https://discourse.julialang.org/t/why-plots-jl-produce-figures-looks-not-as-good-as-other-packages-even-with-pyplot/74946/30 "2022-01-21T14:17:40Z")

</div>

Alright, this is going in circles and doesn’t seem to be productive or positive at this point. I’ve split out one of the actionable improvements into a [new topic](https://discourse.julialang.org/t/making-plots-place-its-legend-in-a-better-spot-with-gr/74986).

Topics about difficulties and potential improvements are always welcome, but for something as subjective as this, everyone needs to be participating in the discussion with a willingness to see the subjectivity of their own preferences.

---

<div class="post-metadata">

**Author:** ![mbauman](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mbauman/32/31082_2.png) [@mbauman](https://discourse.julialang.org/u/mbauman)\
**Post date:** [January 21, 2022, 2:17pm UTC](https://discourse.julialang.org/t/why-plots-jl-produce-figures-looks-not-as-good-as-other-packages-even-with-pyplot/74946/31 "2022-01-21T14:17:43Z")

</div>

Closed on January 21, 2022, 2:17pm UTC



[Previous page](https://discourse.julialang.org/t/why-plots-jl-produce-figures-looks-not-as-good-as-other-packages-even-with-pyplot/74946.md?page=1)
