Skip to content

Move figure factory#316

Closed
theengineear wants to merge 16 commits into
untangle-importsfrom
move-figure-factory
Closed

Move figure factory#316
theengineear wants to merge 16 commits into
untangle-importsfrom
move-figure-factory

Conversation

@theengineear

Copy link
Copy Markdown
Contributor

PR 1: Move FigureFactory out of tools.py!

We can be nice and raise a deprecation warning. Here's what that looks like:

image

* line too long
* bad line breaking at operators (e.g., `*`)
* continuation line over-intented
Note that default arguments are used in all function calls. This means
that you can get some unexpected storage of previous defaults! It’s best
practice not to do this.
IDEs hate this… besides, this is internal code. The important part is
that we eventually validate our work by instantiating a `Figure`.

We can use the publicly hidden `GraphObjectFactory` for this purpose.
@theengineear theengineear mentioned this pull request Oct 2, 2015
1 task
@theengineear

Copy link
Copy Markdown
Contributor Author

:/ this never made it in, so I'm going to close it down since it's so old. However, I'd still really like to untangle all our imports and shift some things around.

@theengineear
theengineear deleted the move-figure-factory branch December 28, 2016 21:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant