Skip to content
This repository has been archived by the owner on Jun 16, 2018. It is now read-only.

Non rectangular frames #60

Merged
merged 8 commits into from
Jul 1, 2014
Merged

Non rectangular frames #60

merged 8 commits into from
Jul 1, 2014

Conversation

astrofrog
Copy link
Owner

This implements non-rectangular frames:

custom_frames-1

custom_frames-3

@astrofrog astrofrog changed the title Non rectangular frame Non rectangular frames Jun 30, 2014
@astrofrog astrofrog added this to the 0.1 milestone Jun 30, 2014
@astrofrog
Copy link
Owner Author

@anizami - just for information, I added a tweak to what you had implemented before to make it so that minpad can be either a float or a dictionary mapping each axis 'spine' to a different minpad - see the test I'm adding here to understand better. I can explain it tomorrow on the hangout :)

else:
top = ycen
ypos = top + padding
self.set_position((xcen, ypos))
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@anizami - these are only indentation changes because I added an if clause, to make sure it works for non-rectangular axes (below).

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@astrofrog - Ahh okay. These non-rectangular frames are interesting..

@astrofrog astrofrog mentioned this pull request Jul 1, 2014
astrofrog added a commit that referenced this pull request Jul 1, 2014
@astrofrog astrofrog merged commit c38da32 into master Jul 1, 2014
astrofrog added a commit that referenced this pull request Nov 28, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants