pgfplots ybar dashed outline

When creating a bargraph with ybar, the last added plot has a dashed outline and I don't seem to understand why.

\documentclass{standalone}
\usepackage{pgfplots}

\begin{document}
\begin{tikzpicture}
\begin{axis}[
axis lines=left,
xmajorgrids,
ymajorgrids,
xmin=0,
xmax=7,
ymin=60,
ymax=80,
bar width=5mm
]
coordinates {
(1,77.071)
};
coordinates {
(2,70.256)
};
coordinates {
(3,65.383)
};
coordinates {
(4,66.077)
};
coordinates {
(5,75.808)
};
coordinates {
(6,77.635)
};
\end{axis}
\end{tikzpicture}
\end{document}


Output:

Although, when I "add" less plots, this issue disappears, as follows:

\documentclass{standalone}
\usepackage{pgfplots}

\begin{document}
\begin{tikzpicture}
\begin{axis}[
axis lines=left,
xmajorgrids,
ymajorgrids,
xmin=0,
xmax=7,
ymin=60,
ymax=80,
bar width=5mm
]
coordinates {
(1,77.071)
};
coordinates {
(2,70.256)(3,65.383)(4,66.077)(5,75.808)
};
coordinates {
(6,77.635)
};
\end{axis}
\end{tikzpicture}
\end{document}


Output:

• If you use for the last plot \addplot+[ybar,mark=0,fill=black!10,draw=black,solid] coordinates { (6,77.635) }; it will be solid as well. I believed (without explicitly checking) that this behavior is controlled by the cycle list. – user121799 Feb 2 at 18:36

This behavior is controlled by the cycle list. If you look at the pgfplots manual at p. 214 you'll find

This explains why the 6th plot has dashed lines. One way to cure this is to add solid to the plot, or you could just create and use your own cycle list.

\documentclass{standalone}
\usepackage{pgfplots}
\pgfplotsset{compat=1.16}
\pgfplotscreateplotcyclelist{Syphirint}{
fill=black!80,draw=black,solid,mark=none\\
fill=black!30,draw=black,solid,mark=none\\
fill=black!30,draw=black,solid,mark=none\\
fill=black!30,draw=black,solid,mark=none\\
fill=black!30,draw=black,solid,mark=none\\
fill=black!10,draw=black,solid,mark=none\\
}

\begin{document}
\begin{tikzpicture}
\begin{axis}[cycle list name=Syphirint,
axis lines=left,
xmajorgrids,
ymajorgrids,
xmin=0,
xmax=7,
ymin=60,
ymax=80,
bar width=5mm
]
coordinates {
(1,77.071)
};
coordinates {
(2,70.256)
};
coordinates {
(3,65.383)
};
coordinates {
(4,66.077)
};