4 | | While preparing this patch, I noticed that the code in current Sage is not able to plot some LPs with irrational data. This appears to be due to a bug in the Sage polyhedron code for RDF data (which InteractiveLP uses when the data are not rational). |

5 | | {{{ |

6 | | sage: poly = polytopes.regular_polygon(7) |

7 | | sage: lp, x = poly.to_linear_program(solver='InteractiveLP', return_variable=True) |

8 | | sage: lp.set_objective(x[0] + x[1]) |

9 | | sage: b = lp.get_backend() |

10 | | sage: P = b.interactive_lp_problem() |

11 | | sage: p = P.plot() ### ERROR |

12 | | sage: p.show() |

13 | | }}} |

| 4 | While preparing this patch, I noticed that the code in current Sage is not able to plot some LPs with irrational data (this is now #21270). |