def draw(self):
def plot_facet(data, color):
sns.swarmplot(
x=data[self._groupby[-1]],
y=data["coquery_invisible_corpus_id"],
order=sorted(self._levels[-1]),
palette=self.options["color_palette_values"],
data=data)
self.g.map_dataframe(plot_facet)
ymax = options.cfg.main_window.Session.Corpus.get_corpus_size()
self.g.set(ylim=(0, ymax))
self.g.set_axis_labels(self.options["label_x_axis"],
self.options["label_y_axis"])
评论列表
文章目录