ContextLab/hypertools

roation & saving not working on large legends

flashpixx opened this issue · 0 comments

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