lets-plot
lets-plot copied to clipboard
Weird tooltip/legend in case of extremely long value
Preconditions:
import numpy as np
import pandas as pd
import matplotlib.pyplot as plt
from lets_plot import *
#%%
data = dict(x=['aaaaaaaaaaadasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdasdadasdaasdasdasdasd','b','c'])
#%%
ggplot(data) + geom_bar(aes('x', fill='x'))+\
ylab('variable..................asdasdasdasd.................name ')
Expected: extremely long values trimmed
Actual: plot is resized down to fit the value name legend is displayed in the second row over value names and cropped by container tooltip cropped by container
