MCPcopy Index your code
hub / github.com/matplotlib/matplotlib / test_pandas_indexing

Function test_pandas_indexing

lib/matplotlib/tests/test_collections.py:670–684  ·  view source on GitHub ↗
(pd)

Source from the content-addressed store, hash-verified

668
669
670def test_pandas_indexing(pd):
671
672 # Should not fail break when faced with a
673 # non-zero indexed series
674 index = [11, 12, 13]
675 ec = fc = pd.Series(['red', 'blue', 'green'], index=index)
676 lw = pd.Series([1, 2, 3], index=index)
677 ls = pd.Series(['solid', 'dashed', 'dashdot'], index=index)
678 aa = pd.Series([True, False, True], index=index)
679
680 Collection(edgecolors=ec)
681 Collection(facecolors=fc)
682 Collection(linewidths=lw)
683 Collection(linestyles=ls)
684 Collection(antialiaseds=aa)
685
686
687@mpl.style.context('default')

Callers

nothing calls this directly

Calls 1

CollectionClass · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…