Skip to content

Small change needed to rmagic extension. #2615

@milkypostman

Description

@milkypostman

https://github.com/ipython/ipython/blob/master/IPython/extensions/rmagic.py#L326

When parsing arguments for %R the rmagic extension requires the units argument (-u / --units) to be an integer, but the parameter is supposed to be one of ["px", "in", "cm", "mm"] and thus it is impossible to pass this argument.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions