I am trying to plot a simple histogram by using a code sample from pgfplots:
\begin{tikzpicture}
\begin{axis}[ xbar,
xmin=0,
width=12cm,
height=3.5cm,
enlarge y limits=0.5,
xlabel={\#participants},
symbolic y coords={no,yes},
ytick=data, nodes near coords, nodes near coords align={horizontal}, ]
\addplot coordinates {(3,no) (7,yes)};
\end{axis}
\end{tikzpicture}
which generates this plot:

I want to make "yes" ytick label as bold. By this, I'll be able to edit the more complex histogram that I have which has actually multiple ytick labels.

yticklabels from table={\utilsortedresults}{agents},is used? – tdgunes May 29 '17 at 15:46\textbf{Label}and it worked. Thanks for the inspiration and your answer. – tdgunes May 29 '17 at 15:54