# Log scale axis issue with PyPlot (and how to manually fix it)

**URL:** <https://discourse.julialang.org/t/log-scale-axis-issue-with-pyplot-and-how-to-manually-fix-it/44927>\
**Category:** Visualization\
**Created:** [August 14, 2020, 11:14am UTC](https://discourse.julialang.org/t/log-scale-axis-issue-with-pyplot-and-how-to-manually-fix-it/44927 "2020-08-14T11:14:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nicolas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/nicolas/32/26439_2.png) [@nicolas](https://discourse.julialang.org/u/nicolas)\
**Post date:** [August 14, 2020, 11:14am UTC](https://discourse.julialang.org/t/log-scale-axis-issue-with-pyplot-and-how-to-manually-fix-it/44927/1 "2020-08-14T11:14:25Z")

</div>

When I execute the following code using PyPlot (Julia 1.5.0 on Windows):

```julia
using Plots
pyplot()
scatter(1:5, [1, 1e-5,1e-10,1e-15,1e-20], yaxis=:log)

```

The y axis doesn’t show properly. But I have realized by clicking on ‘Figure options’ in the menu that the y scale is actually set to linear. If I set it to log, then everything is fine. The same thing seems to happen with the x scale.
