The difference arises when using Gridlines -> Automatic
, so it might be a stretch to consider this a bug, since the behavior when using Automatic
isn't necessarily expected to stay the same between versions.
The version 11 behavior might actually be considered superior in this situation -- in version 10, when ticks are specified manually, the Automatic
grid lines don't line up with the specified ticks, which looks odd. In version 11 the Automatic
grid lines don't print when the ticks are specified manually, which makes a little more sense. Of course the workaround if you want grid lines is to just give the same specification to GridLines
as you do to Ticks
:
Plot[Sin[t], {t, 0, 6 Pi}, GridLines -> {Range[0, 6 Pi, Pi], Automatic},
GridLinesStyle -> LightGray, Ticks -> {Range[0, 6 Pi, Pi], Automatic}
]
What is odd about the behavior in version 11 is that the Automatic
grid lines take their cue from the Ticks
even if Frame -> True
so that we only see the FrameTicks
. For example, here we might expect the vertical grid lines to show and the horizontal grid lines to be suppressed, but it's the other way around:
Plot[Sin[t], {t, 0, 6 Pi}, GridLines -> Automatic, GridLinesStyle -> LightGray,
Ticks -> {Range[0, 6 Pi, Pi], Automatic}, Frame -> True,
FrameTicks -> {Automatic, Range[0, 1, 1/3]}
]
This makes it seem like the new behavior is unintentional, or if it is intended as a feature, it needs some more work.
GridLines
bug; you could approach it as I did here: (60108) $\endgroup$