Skip to content

Cannot plot Cone that is a halfplane in 2d #25114

@yuan-zhou

Description

@yuan-zhou
sage: halfplane = Cone([(1,0), (0,1), (-1,0)])
sage: halfplane.plot() 

raises UnboundLocalError: local variable 'r1' referenced before assignment.

CC: @novoselt @jplab @mkoeppe @orlitzky

Component: geometry

Keywords: Cone, plot, IMA-PolyGeom

Branch/Commit: u/yzh/cannot_plot_cone_that_is_a_halfplane_in_2d @ 57f5898

Issue created by migration from https://trac.sagemath.org/ticket/25114

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions