Skip to content

print out current set of bindings #20

Description

@lmeyerov

Now that the bindings are not explictly set at each call, it'd help to be able to printf the set of bindings active at a particular point.

Proposal 1:

graphistry.bind(...) : setter that returns graphistry with updated bindings
graphistry.bind() : getter that returns {<k> : <v>}

Proposal 2:
A top-level field bindings that is the dictionary of current bindings.

graphistry.bindings : returns {<k>: <v>}

I'm leaning towards Proposal 2.

Activity

  1. thibaudh commented on Aug 9, 2015

    @thibaudh
    Contributor

    What do we do with settings? Only proposal 1 makes sense. It is not a verb unfortunately.

  2. thibaudh commented on Aug 9, 2015

    @thibaudh
    Contributor

    Alternatively, printing the plotter object now shows all bindings/settings

  3. thibaudh commented on Aug 24, 2015

    @thibaudh
    Contributor

    I think the pretty printing code for the plotter is enough

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions