Skip to content

Remove pylab star import in labscript.labscript #104

Description

@dihm

As discussed in #102, it would be good to remove any and all star imports, especially pylab which is largely deprecated and brings in a ton of junk to the labscript namespace.

A hurdle to this is that users are likely accidentally relying on some of these imports in their scripts. If we wanted to avoid a breaking change, we could just go through and manually import the useful stuff that pylab brings (even if we aren't specifically using it within labscript). Though it is probably better to just pull the bandaid and even update the docs to discourage the from labscript import * idiom.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentationenhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions