ContextLab / hypertools

A Python toolbox for gaining geometric insights into high-dimensional data
http://hypertools.readthedocs.io/en/latest/
MIT License
1.81k stars 161 forks source link

roation & saving not working on large legends #223

Open flashpixx opened 5 years ago

flashpixx commented 5 years ago

I have got a large legend of numerical data, so the legend is larger than the window size and on clicking the save button an exception is thrown

Traceback (most recent call last):
  File "matplotlib/cbook/__init__.py", line 216, in process
    func(*args, **kwargs)
  File "hypertools/plot/draw.py", line 127, in update_position
    proj = ax.get_proj()
AttributeError: 'AxesSubplot' object has no attribute 'get_proj'

It would be nice, that the lgend is fit to the window size and/or the saving button works also if the legend is larger than the window