Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unwanted x margins in get_elt_projected_plots_color #562

Closed
91bsjun opened this issue Feb 10, 2017 · 1 comment
Closed

Unwanted x margins in get_elt_projected_plots_color #562

91bsjun opened this issue Feb 10, 2017 · 1 comment
Labels
data viz PRs and issues about pymatgen plotting functionality

Comments

@91bsjun
Copy link

91bsjun commented Feb 10, 2017

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.

@janosh
Copy link
Member

janosh commented May 29, 2023

@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

@janosh janosh added the data viz PRs and issues about pymatgen plotting functionality label May 29, 2023
@janosh janosh changed the title Small error in "get_elt_projected_plots_color" Unwanted x margins in get_elt_projected_plots_color May 29, 2023
@janosh janosh closed this as completed in 45060ec May 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
data viz PRs and issues about pymatgen plotting functionality
Projects
None yet
Development

No branches or pull requests

2 participants