You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: pr-12/notebooks/tutorials/scalebars.html
+7-2Lines changed: 7 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -464,6 +464,7 @@ <h2>3. Placement and appearance with <code class="docutils literal notranslate">
464
464
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">length_fraction</span></code> — target bar length as a fraction of the axes width.</p></li>
465
465
<li><p><codeclass="docutils literal notranslate"><spanclass="pre">scale_loc</span></code> / <codeclass="docutils literal notranslate"><spanclass="pre">label_loc</span></code> — where the number and unit sit relative to the bar.</p></li>
466
466
</ul>
467
+
<p>The default box is <strong>white</strong>, so on a dark image like <codeclass="docutils literal notranslate"><spanclass="pre">blobs</span></code> you either keep the default (dark bar on a white box) or, if you switch to <codeclass="docutils literal notranslate"><spanclass="pre">color="white"</span></code>, pair it with a dark box (<codeclass="docutils literal notranslate"><spanclass="pre">box_color</span></code>/<codeclass="docutils literal notranslate"><spanclass="pre">box_alpha</span></code>) or <codeclass="docutils literal notranslate"><spanclass="pre">frameon=False</span></code> — otherwise the white bar lands on the white box and disappears.</p>
0 commit comments