title: Does anyone know why the title of my legend isn't updating? (ggplot2, stacked barplot)
body: <p>For some reason, I can't get the title of my legend to update from &quot;surv_status&quot; (variable name) to &quot;Survival Status&quot; despite adding +labs(fill = &quot;Survival status&quot;) in all different possible places in the code chunk.</p>
  <p>Any suggestions? Thank you!</p>
  <pre><code>ggplot(data_train, aes(x = axil_nodes, fill = as.factor(surv_status))) +
    geom_bar(position = &quot;fill&quot;) +
     labs(fill = &quot;Survival status&quot;) +
    theme_classic() +
    xlab(&quot;Number of positive axillary nodes&quot;) +
    ggtitle(&quot;Visualizing positive axillary node count by survival status&quot;) +   
    theme(legend.background = element_rect(color = &quot;black&quot;, linetype = &quot;dashed&quot;)) +
    scale_fill_discrete(name = &quot;surv_status&quot;, labels = c(&quot;Survived&quot;, &quot;Deceased&quot;))
  </code></pre>
  <p><a href="https://i.stack.imgur.com/9Zxbk.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/9Zxbk.png" alt="enter image description here" /></a></p>