-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Any row or col label will not wrap, but overlap if it is too long.
Minimal Code To Reproduce
from parallelplot import parallel_plot
import matplotlib.pyplot as plt
import numpy as np
def violin(data, fig, axes):
axes.violinplot(data)
X = np.random.uniform(low=-1, high=1, size=(45, 512, 512))
# _parallel_plot_worker((0, X[0]), violin, figsize=(3, 6))
labels = ["this is a very long label blah blah blah" for _ in enumerate(X)]
parallel_plot(plot_fn=violin, data=X, grid_shape=(3, 15), cleanup=False,
col_labels=labels, row_labels=labels)
plt.show()
Expected behavior
Labels should wrap.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working