Skip to content
This repository has been archived by the owner on Jul 13, 2021. It is now read-only.

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
asinghvi17 authored Mar 19, 2020
1 parent 0eb50c3 commit 43d7dc2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/basic_recipes/axis.jl
Original file line number Diff line number Diff line change
Expand Up @@ -383,9 +383,9 @@ function draw_titles(
textcolor, textsize, rotation, align, font,
title
)
tickspace_y = widths(text_bb(
tickspace_x = widths(text_bb(
last(first(yticks)), to_font(tickfont[2]), tick_size[2]
))[2]
))[1]

tickspace_y = widths(text_bb(
last(first(xticks)), to_font(tickfont[1]), tick_size[1]
Expand Down

0 comments on commit 43d7dc2

Please sign in to comment.