(self)
| 2802 | ) |
| 2803 | |
| 2804 | def test_facetgrid(self) -> None: |
| 2805 | with figure_context(): |
| 2806 | fg = self.ds.plot.streamplot( |
| 2807 | x="x", y="y", u="u", v="v", row="row", col="col", hue="mag" |
| 2808 | ) |
| 2809 | for handle in fg._mappables: |
| 2810 | assert isinstance(handle, mpl.collections.LineCollection) |
| 2811 | |
| 2812 | with figure_context(): |
| 2813 | fg = self.ds.plot.streamplot( |
| 2814 | x="x", |
| 2815 | y="y", |
| 2816 | u="u", |
| 2817 | v="v", |
| 2818 | row="row", |
| 2819 | col="col", |
| 2820 | hue="mag", |
| 2821 | add_guide=False, |
| 2822 | ) |
| 2823 | |
| 2824 | |
| 2825 | @requires_matplotlib |
nothing calls this directly
no test coverage detected