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

Purple border around walkers path and solids #19

Closed
ghost opened this issue Jan 29, 2023 · 2 comments
Closed

Purple border around walkers path and solids #19

ghost opened this issue Jan 29, 2023 · 2 comments

Comments

@ghost
Copy link

ghost commented Jan 29, 2023

Hi there,

Sorry if my question is stupid but I tried to fix it by myself and I just can't. When I use plot_walk_2d, I have a purple border around walkers path as well as around the solid in the image, as you can see in the following pictures.
tau example
porous media example

I would like to know if it is possible to remove this purple border, because in the case of a porous media, the resulting image is really saturated.

Thanks in advance, and have a nice day.

@jgostick
Copy link
Member

I think this is easy to solve...when using plt.imshow(im) you have to add plt.imshow(im, interpolation='none').

@ghost
Copy link
Author

ghost commented Jan 30, 2023

I think this is easy to solve...when using plt.imshow(im) you have to add plt.imshow(im, interpolation='none').

Thanks for your reply. I'm not using plt.imshow directly in my code because the plot_walk_2d function dot it.. But I edited plt.imshow that are inside the plot_walk_2d function it worked, thanks a lot !

@ghost ghost closed this as completed Jan 30, 2023
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant