Skip to content

Replace the 'figure' function with a method in the Figure class - #148

Merged
leouieda merged 1 commit into
masterfrom
activate_figure
Mar 29, 2018
Merged

Replace the 'figure' function with a method in the Figure class#148
leouieda merged 1 commit into
masterfrom
activate_figure

Conversation

@leouieda

Copy link
Copy Markdown
Member

Changes proposed in this pull request

The function activates a figure given a name. It's only used inside the
Figure class, so it's better as a private method.
Also, it's now called upon Figure creation (in init) to guarantee
that a postscript stub and a new figure entry is generated
in the GMT tables.

The function activates a figure given a name. It's only used inside the
Figure class, so it's better as a private method.
Also, it's now called upon Figure creation (in __init__) to guarantee
that a postscript stub and a new figure entry is generated
in the GMT tables.
@leouieda
leouieda merged commit 5e69285 into masterMar 29, 2018
@leouiedaleouieda changed the title Replace the 'figure' function a method in FigureReplace the 'figure' function with a method in FigureMar 29, 2018
@leouiedaleouieda changed the title Replace the 'figure' function with a method in FigureReplace the 'figure' function with a method in the Figure classMar 29, 2018
@leouieda
leouieda deleted the activate_figure branch March 29, 2018 02:34
Sign up for freeto 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

@leouieda