# Pyplot axis tick marks no labels

**URL:** <https://discourse.julialang.org/t/pyplot-axis-tick-marks-no-labels/20927>\
**Category:** General Usage\
**Created:** [February 18, 2019, 9:44am UTC](https://discourse.julialang.org/t/pyplot-axis-tick-marks-no-labels/20927 "2019-02-18T09:44:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ferran\_Mazzanti](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ferran_mazzanti/32/7458_2.png) [@Ferran\_Mazzanti](https://discourse.julialang.org/u/Ferran_Mazzanti)\
**Post date:** [February 18, 2019, 9:44am UTC](https://discourse.julialang.org/t/pyplot-axis-tick-marks-no-labels/20927/1 "2019-02-18T09:44:15Z")

</div>

Hi,  
I’m struggling to make pyplot do what I want, which I guess is not that difficult anyway… The fact is that I’m building a plot (in a subplot), and I need to have the y-axis tick marks in both the left and right y y-axis, but the tick mark labels only on the right y-axis. I’m sure this can be done, though I don’t know how, so any help will be greatly appreciated.  
Thanks in advance,  
Ferran.

---

<div class="post-metadata">

**Author:** ![Daneel](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/daneel/32/175_2.png) [@Daneel](https://discourse.julialang.org/u/Daneel)\
**Post date:** [February 19, 2019, 8:17am UTC](https://discourse.julialang.org/t/pyplot-axis-tick-marks-no-labels/20927/2 "2019-02-19T08:17:30Z")

</div>

Couldn’t you do something like this? It’s probably similar with subplots.

If they have to be part of the same plot you can always create a second axis and link the axes so they share the same range.

[https://gist.github.com/gizmaa/7214002#multi-axis-plot](https://gist.github.com/gizmaa/7214002#multi-axis-plot)
