def test_alphanumeric_arrow_labels_using_ax(self): orig_fig, ax = plt.subplots() fig, pos = plot_markov_model(self.P, arrow_labels=self.P_mfpt, arrow_label_format='mfpts = %f frames', ax=ax) assert type(fig) is matplotlib.figure.Figure assert fig == orig_fig
def test_alphanumeric_arrow_labels(self): fig, pos = plot_markov_model(self.P, arrow_labels=self.P_mfpt, arrow_label_format='mfpts = %f frames') assert type(fig) is matplotlib.figure.Figure
def test_forced_no_arrows_labels(self): fig, pos = plot_markov_model(self.P, arrow_labels=None) assert type(fig) is matplotlib.figure.Figure
def test_numeric_arrow_labels(self): fig, pos = plot_markov_model(self.P, arrow_labels=self.P) assert type(fig) is matplotlib.figure.Figure
def test_plot_markov_model(self): fig, pos = plot_markov_model(self.P) assert type(fig) is matplotlib.figure.Figure