lets-plot icon indicating copy to clipboard operation
lets-plot copied to clipboard

Weird tooltip/legend in case of extremely long value

Open alshan opened this issue 5 years ago • 0 comments

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

image

alshan avatar Feb 15 '21 20:02 alshan