Skip to content

Commit 0726bd7

Browse files
committed
Preview for PR #21 85698bb
1 parent 43e5d5f commit 0726bd7

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

pr-21/_sources/notebooks/examples/datashader_reductions.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -322,7 +322,7 @@
322322
"pixels, instead of handing the full array to matplotlib.\n",
323323
"\n",
324324
"The image path takes a slightly different reduction vocabulary — it adds `mode`/`first`/`last` and has\n",
325-
"no `count`/`any` — though here we leave `datashader_reduction` at its default."
325+
"no `count`/`any`/`sum` (so `sum` works on points but not images) — though here we leave `datashader_reduction` at its default."
326326
]
327327
},
328328
{

pr-21/notebooks/examples/datashader_reductions.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -577,7 +577,7 @@ <h2>4. Datashader for large images — <code class="docutils literal notranslate
577577
<p>Reductions also apply to images: <code class="docutils literal notranslate"><span class="pre">method=&quot;datashader&quot;</span></code> renders large or sparse rasters by aggregating
578578
pixels, instead of handing the full array to matplotlib.</p>
579579
<p>The image path takes a slightly different reduction vocabulary — it adds <code class="docutils literal notranslate"><span class="pre">mode</span></code>/<code class="docutils literal notranslate"><span class="pre">first</span></code>/<code class="docutils literal notranslate"><span class="pre">last</span></code> and has
580-
no <code class="docutils literal notranslate"><span class="pre">count</span></code>/<code class="docutils literal notranslate"><span class="pre">any</span></code> — though here we leave <code class="docutils literal notranslate"><span class="pre">datashader_reduction</span></code> at its default.</p>
580+
no <code class="docutils literal notranslate"><span class="pre">count</span></code>/<code class="docutils literal notranslate"><span class="pre">any</span></code>/<code class="docutils literal notranslate"><span class="pre">sum</span></code> (so <code class="docutils literal notranslate"><span class="pre">sum</span></code> works on points but not images) — though here we leave <code class="docutils literal notranslate"><span class="pre">datashader_reduction</span></code> at its default.</p>
581581
<div class="cell docutils container">
582582
<div class="cell_input docutils container">
583583
<div class="highlight-ipython3 notranslate"><div class="highlight"><pre><span></span><span class="n">sdata</span><span class="o">.</span><span class="n">pl</span><span class="o">.</span><span class="n">render_images</span><span class="p">(</span>

0 commit comments

Comments
 (0)