MCPcopy
hub / github.com/mwaskom/seaborn / test_stat_default

Method test_stat_default

tests/_core/test_plot.py:247–254  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

245
246 @pytest.mark.xfail(reason="Need decision on default stat")
247 def test_stat_default(self):
248
249 class MarkWithDefaultStat(Mark):
250 default_stat = Stat
251
252 p = Plot().add(MarkWithDefaultStat())
253 layer, = p._layers
254 assert layer["stat"].__class__ is Stat
255
256 def test_stat_nondefault(self):
257

Callers

nothing calls this directly

Calls 3

PlotClass · 0.90
MarkWithDefaultStatClass · 0.85
addMethod · 0.80

Tested by

no test coverage detected