title: Plot point markers and lines in different hues but the same style with seaborn
body: <p>Given the data frame below:</p>
  
  <pre><code>import pandas as pd
  df = pd.DataFrame({
      "n_index": list(range(5)) * 2,
      "logic": [True] * 5 + [False] * 5,
      "value": list(range(5)) + list(range(5, 10))
  })
  </code></pre>
  
  <p>I'd like to use <em>color and only color</em> to distinguish <code>logic</code> in a line plot, and mark points on <code>value</code>s. Specifically, this is my desired output (plotted by R <a href="https://ggplot2.tidyverse.org" rel="noreferrer">ggplot2</a>):</p>
  
  <pre><code>ggplot(aes(x = n_index, y = value, color = logic), data = df) + geom_line() + geom_point()
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/6bQ3U.png" rel="noreferrer"><img src="https://i.stack.imgur.com/6bQ3U.png" alt="desired output"></a></p>
  
  <p>I tried to do the same thing with <a href="https://seaborn.pydata.org/generated/seaborn.lineplot.html" rel="noreferrer"><code>seaborn.lineplot</code></a>, and I specified <code>markers=True</code> but there was no marker:</p>
  
  <pre><code>import seaborn as sns
  sns.set()
  sns.lineplot(x="n_index", y="value", hue="logic", markers=True, data=df)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/0Asw8.png" rel="noreferrer"><img src="https://i.stack.imgur.com/0Asw8.png" alt="sns no markers"></a></p>
  
  <p>I then tried adding <code>style="logic"</code> in the code, now the markers showed up:</p>
  
  <pre><code>sns.lineplot(x="n_index", y="value", hue="logic", style="logic", markers=True, data=df)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/H50Ad.png" rel="noreferrer"><img src="https://i.stack.imgur.com/H50Ad.png" alt="sns with markers 1"></a></p>
  
  <p>Also I tried forcing the markers to be in the same style:</p>
  
  <pre><code>sns.lineplot(x="n_index", y="value", hue="logic", style="logic", markers=["o", "o"], data=df)
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/pQLSq.png" rel="noreferrer"><img src="https://i.stack.imgur.com/pQLSq.png" alt="sns with markers 2"></a></p>
  
  <p>It seems like that I have to specify <code>style</code> before I can have markers. However, that causes undesired plot output since I don't want to use two aesthetic dimensions on one data dimension. That violates the principles of aesthetic mapping.</p>
  
  <p>Is there any way I can have the lines and points all in the same style but in different colors with <code>seaborn</code> or Python visualization? (<code>seaborn</code> is preferred - I don't like the looping way of<code>matplotlib</code>.)</p>