Skip to content

Commit e5e37a3

Browse files
committed
Increase the word spacing and re-generate the images
1 parent 8620c3f commit e5e37a3

15 files changed

Lines changed: 15 additions & 14 deletions

docs/.doctrees/environment.pickle

212 Bytes
Binary file not shown.

docs/.doctrees/text.doctree

1.37 KB
Binary file not shown.
19 Bytes
Loading

docs/_images/3-temperatures.png

11 Bytes
Loading

docs/_images/3-time-series.png

451 Bytes
Loading

docs/searchindex.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/text.html

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ <h1>2. Text Visualizations<a class="headerlink" href="#text-visualizations" titl
229229

230230
<dl class="method">
231231
<dt id="text.annotation.Annotation.draw">
232-
<code class="sig-name descname">draw</code><span class="sig-paren">(</span><em class="sig-param">annotation</em>, <em class="sig-param">x</em>, <em class="sig-param">y</em>, <em class="sig-param">wordspacing=0.005</em>, <em class="sig-param">lineheight=1.25</em>, <em class="sig-param">align='left'</em>, <em class="sig-param">va='top'</em>, <em class="sig-param">pad=0</em>, <em class="sig-param">*args</em>, <em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#text.annotation.Annotation.draw" title="Permalink to this definition"></a></dt>
232+
<code class="sig-name descname">draw</code><span class="sig-paren">(</span><em class="sig-param">annotation</em>, <em class="sig-param">x</em>, <em class="sig-param">y</em>, <em class="sig-param">wordspacing=None</em>, <em class="sig-param">lineheight=1.25</em>, <em class="sig-param">align='left'</em>, <em class="sig-param">va='top'</em>, <em class="sig-param">pad=0</em>, <em class="sig-param">*args</em>, <em class="sig-param">**kwargs</em><span class="sig-paren">)</span><a class="headerlink" href="#text.annotation.Annotation.draw" title="Permalink to this definition"></a></dt>
233233
<dd><p>Draw the text annotation visualization.
234234
The method receives text as a list of tokens and draws them as text.</p>
235235
<p>The text can be provided either as strings or as dictionaries.
@@ -256,7 +256,8 @@ <h1>2. Text Visualizations<a class="headerlink" href="#text-visualizations" titl
256256
The end x-position is taken from the axis limit.
257257
If a tuple is given, the first two values are the start and end x-position of the annotation.</p></li>
258258
<li><p><strong>y</strong> (<em>float</em>) – The starting y-position of the annotation.</p></li>
259-
<li><p><strong>wordspacing</strong> (<em>float</em>) – The space between words.</p></li>
259+
<li><p><strong>wordspacing</strong> (<em>float</em><em> or </em><em>None</em>) – The space between words.
260+
If <cite>None</cite> is given, the space is calculated based on the height of the line.</p></li>
260261
<li><p><strong>lineheight</strong> (<em>float</em>) – The space between lines.</p></li>
261262
<li><p><strong>align</strong> (<em>str</em>) – <p>The text’s alignment.
262263
Possible values:</p>
@@ -356,7 +357,8 @@ <h1>2. Text Visualizations<a class="headerlink" href="#text-visualizations" titl
356357
The method expects a <cite>list</cite> of tokens, each one a <cite>dict</cite>.</p></li>
357358
<li><p><strong>x</strong> (<em>tuple</em>) – The start and end x-position of the annotation.</p></li>
358359
<li><p><strong>y</strong> (<em>float</em>) – The starting y-position of the annotation.</p></li>
359-
<li><p><strong>wordspacing</strong> (<em>float</em>) – The space between words.</p></li>
360+
<li><p><strong>wordspacing</strong> (<em>float</em><em> or </em><em>None</em>) – The space between words.
361+
If <cite>None</cite> is given, the space is calculated based on the height of the line.</p></li>
360362
<li><p><strong>lineheight</strong> (<em>float</em>) – The space between lines.</p></li>
361363
<li><p><strong>align</strong> (<em>str</em>) – <p>The text’s alignment.
362364
Possible values:</p>

examples/.ipynb_checkpoints/3. Time Series-checkpoint.ipynb

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

examples/3. Time Series.ipynb

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.
3.8 KB
Loading

0 commit comments

Comments
 (0)