Skip to content

obstacle circles not consistent when increasing figure size #1396

Description

@davidenitti

Describe the bug
in many scripts e.g. PathPlanning/RRTDubins/rrt_dubins.py
the black circles change size when making the figure full screen. This is caused by the fact that the obstacle is drawn with plt.plot(ox, oy, "ok", ms=30 * size), that does not scale the circle properly when the figure changes size.
probably something like

ax = plt.gca()
ax.add_patch(plt.Circle((ox, oy), size, color="k", fill=True))

would work

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

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions