Replies: 1 comment
-
You can turn on the minor breaks with + theme(axis_ticks=element_line()) # turn on major & minor breaks
+ theme(axis_ticks_minor=element_line()) # turn on minor breaks
+ theme(axis_ticks_minor_x=element_line()) # turn on minor breaks for the x axis
+ theme(axis_ticks_minor_y=element_line()) # turn on minor breaks for the y axis |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I would like to know how to enable minor_breaks. I use Plotnine on GoogleColabs
Last year I could run:
from plotnine import *
import plotnine as plotnine
plotnine.options.figure_size=(7, 7)
(ggplot(pmf,aes(x='x_coord'))
+scale_linetype_manual(name=" ", labels=( 'Mesoscale', 'Atomistic'), values =( 'solid',''))
Now if I rerun the same job on GoogleColabs with plotnine 0.10.0 , I don't get the minor breaks I have plotnine 0.8 on my laptop and still do not get the minor breaks
The question is how to do I get get the minor breaks back?
Beta Was this translation helpful? Give feedback.
All reactions