title: Specific Annotations changes required in plotly graph
body: <p>i have dataset<a href="https://i.stack.imgur.com/DdZvh.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DdZvh.jpg" alt="Given dataset"></a> </p>
  
  <p>Here is my code.Using this code i have plotted a graph <a href="https://i.stack.imgur.com/rNwAB.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/rNwAB.jpg" alt="The given plotly graph produced using this code"></a>.But what i want is specific annotations for specific severity like change of arrowsize and font for the count which are in critical severity range or applying different font to different severity range without any change to other data points  so that it will remain highlighted.Example<a href="https://i.stack.imgur.com/jFMTg.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/jFMTg.png" alt="The result should be somewhat like this,without any change in other data points in the graph"></a></p>
  
  <pre><code>input_file$Severity  &lt;- factor(input_file$Severity , levels =c("Critical","Moderate", "Major","High","Low"))
  cols &lt;- c("#F72E03", "#08EE71", "#B7273F","#28E5EE","#188A4C")
  m &lt;- list(l = 100,r = 50, b = 200,t = 10,pad = 0)
  t &lt;- list(family = "sans serif",size = 14,color = 'blue')
  ax &lt;- list(showticklabels = TRUE,zeroline=TRUE,showline=T,showgrid=T)
  ay &lt;- list(showticklabels = TRUE,zeroline=TRUE,showline=T,showgrid=T)`
  plot_ly(input_file, x =~Category, y =~Severity,type="scatter",color=~Severity,colors=cols,mode="markers",marker=list(size=15,width=2))%&gt;%
  layout(xaxis=ax,yaxis=ay,font=t)%&gt;%
  layout(margin=m)%&gt;%
  add_annotations(x = input_file$Category,
                y = input_file$Severity,
                text = input_file$count,
                textangle = -45,
                xref = "x",
                yref = "y",
                showarrow = T,
                arrowhead = 4,
                arrowsize = .5,
                ax = 20,
                ay = -40,
                # Styling annotations' text:
                font = list(color = '#264E86',
                            family = 'Comic Sans MS',
                            size = 12))
  </code></pre>