Skip to content

Unwanted x margins in get_elt_projected_plots_color #562

Closed

Description

@91bsjun

get_elt_projected_plots_color is missing

x_max = data['distances'][-1][-1]
plt.xlim(0, x_max)

Causes odd margins on the left and right side of the figure.

Activity

  1. janosh commented on May 29, 2023

    @janosh
    Member

    @91bsjun Thanks for reporting. For later reference, here's before (top) and after (bottom) adding the suggested snippet:

    Screenshot 2023-05-29 at 08 54 18

  2. added
    data vizPRs and issues about pymatgen plotting functionality
    on May 29, 2023
  3. changed the title [-]Small error in "get_elt_projected_plots_color"[/-] [+]Unwanted x margins in `get_elt_projected_plots_color`[/+] on May 29, 2023
  4. added a commit that references this issue on Feb 9, 2024
    45060ec
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

    data vizPRs and issues about pymatgen plotting functionality

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions