New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add size keywords in Image class #1435
Comments
Don't forget the SVG class too if that makes sense. Might even be nice if we are downsizing the display of a large image to make it linked to show the full size image. |
I just thought about the same lacking feature... but then thought that it might be worth just adding generic backend_opts keywords options, e.g.
which would result in a patch:
to handle it -- not sure though what would happen for embed=True but may be such way it would be more scalable to accommodate ad-hoc demands ;-) |
This was closed by #2231 |
What was the actual decision? It seems there is not any of these options implemented? |
This was implemented as described in 1.0 by #2231. The Image constructor accepts width and height kwargs, which affect the display size of the image. |
Here is what I am getting, it is fine for image filename alone but with other args it gives error as:
|
Are you on master ? |
This is the version I am using. I am not sure I understood your question though. Enthought Python Distribution -- www.enthought.com Python 2.7.3 | 64-bit | (default, Aug 8 2013, 05:43:23) IPython 0.13.1 -- An enhanced Interactive Python. |
You are not in master... the current stable version is 1.1.0, and we call master the development version 2.0.0. |
Yes, the keyword have been added recently, you should be ale o upgrade using EPD, I would also suggest migrating to Canopy that replace EPD now. |
I am sorry. I have just updated my Canopy. Works fine. Thanks for your time. |
As discussed on the mailing list, it seems that it would be useful to add size-specific keywords to the image class, something like
The text was updated successfully, but these errors were encountered: