Closed sreelakshmi540 closed 6 months ago
What version of marvin, matplotlib and seaborn are you using? Can you provide a code snippet to reproduce the issue?
hello,
marvin version 2.8.0(latest) matplotlib version 3.8.3 code- masks, fig, axes = maps.get_bpt(plt_style='seaborn-v0_8-darkgrid') error-
[ERROR]: Traceback (most recent call last):
File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py",
line 3577, in run_code exec(code_obj, self.user_global_ns,
self.user_ns)
File "/tmp/ipykernel_3768/2690982991.py", line 1, in
When I changed the colour bar of some plots,the result is with some other colour bar range here I attached an image please go through.
On Tue, Apr 16, 2024 at 8:18 PM Brian Cherinka @.***> wrote:
What version of marvin, matplotlib and seaborn are you using? Can you provide a code snippet to reproduce the issue?
— Reply to this email directly, view it on GitHub https://github.com/sdss/marvin/issues/807#issuecomment-2059279638, or unsubscribe https://github.com/notifications/unsubscribe-auth/BH3UMLKBD7J5PDDXABTCYZ3Y5U25JAVCNFSM6AAAAABGJFIL2GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJZGI3TSNRTHA . You are receiving this because you authored the thread.Message ID: @.***>
code- import matplotlib.pyplot as plt from marvin.tools.maps import Maps import marvin.utils.plot.map as mapplot from marvin.tools.image import Image plt.style.use('seaborn-v0_8-notebook') plt.ion() maps = Maps(plateifu='10223-6102') masks, fig, axes = maps.get_bpt(plt_style='seaborn-v0_8-darkgrid')
On Wed, Apr 17, 2024 at 9:26 PM Sree Lakshmi < @.***> wrote:
hello,
marvin version 2.8.0(latest) matplotlib version 3.8.3 code- masks, fig, axes = maps.get_bpt(plt_style='seaborn-v0_8-darkgrid') error-
[ERROR]: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 3577, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "/tmp/ipykernel_3768/2690982991.py", line 1, in
masks, fig, axes = maps.get_bpt(plt_style='seaborn-v0_8-darkgrid') File "/home/oem/.local/lib/python3.10/site-packages/marvin/tools/maps.py", line 766, in get_bpt raise marvin.core.exceptions.MarvinError(marvin.core.exceptions.MarvinError: unknown keyword plt_style. You can submit this error to Marvin GitHub Issues (https://github.com/sdss/marvin/issues/new). Fill out a subject and some text describing the error that just occurred. If able, copy and paste the full traceback information into the issue as well. When I changed the colour bar of some plots,the result is with some other colour bar range here I attached an image please go through.
On Tue, Apr 16, 2024 at 8:18 PM Brian Cherinka @.***> wrote:
What version of marvin, matplotlib and seaborn are you using? Can you provide a code snippet to reproduce the issue?
— Reply to this email directly, view it on GitHub https://github.com/sdss/marvin/issues/807#issuecomment-2059279638, or unsubscribe https://github.com/notifications/unsubscribe-auth/BH3UMLKBD7J5PDDXABTCYZ3Y5U25JAVCNFSM6AAAAABGJFIL2GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJZGI3TSNRTHA . You are receiving this because you authored the thread.Message ID: @.***>
Reminder
please reply to this mail as soon as possible.
On Wed, Apr 17, 2024 at 9:28 PM Sree Lakshmi < @.***> wrote:
code- import matplotlib.pyplot as plt from marvin.tools.maps import Maps import marvin.utils.plot.map as mapplot from marvin.tools.image import Image plt.style.use('seaborn-v0_8-notebook') plt.ion() maps = Maps(plateifu='10223-6102') masks, fig, axes = maps.get_bpt(plt_style='seaborn-v0_8-darkgrid')
On Wed, Apr 17, 2024 at 9:26 PM Sree Lakshmi < @.***> wrote:
hello,
marvin version 2.8.0(latest) matplotlib version 3.8.3 code- masks, fig, axes = maps.get_bpt(plt_style='seaborn-v0_8-darkgrid') error-
[ERROR]: Traceback (most recent call last): File "/usr/local/lib/python3.10/dist-packages/IPython/core/interactiveshell.py", line 3577, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "/tmp/ipykernel_3768/2690982991.py", line 1, in
masks, fig, axes = maps.get_bpt(plt_style='seaborn-v0_8-darkgrid') File "/home/oem/.local/lib/python3.10/site-packages/marvin/tools/maps.py", line 766, in get_bpt raise marvin.core.exceptions.MarvinError(marvin.core.exceptions.MarvinError: unknown keyword plt_style. You can submit this error to Marvin GitHub Issues (https://github.com/sdss/marvin/issues/new). Fill out a subject and some text describing the error that just occurred. If able, copy and paste the full traceback information into the issue as well. When I changed the colour bar of some plots,the result is with some other colour bar range here I attached an image please go through.
On Tue, Apr 16, 2024 at 8:18 PM Brian Cherinka @.***> wrote:
What version of marvin, matplotlib and seaborn are you using? Can you provide a code snippet to reproduce the issue?
— Reply to this email directly, view it on GitHub https://github.com/sdss/marvin/issues/807#issuecomment-2059279638, or unsubscribe https://github.com/notifications/unsubscribe-auth/BH3UMLKBD7J5PDDXABTCYZ3Y5U25JAVCNFSM6AAAAABGJFIL2GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANJZGI3TSNRTHA . You are receiving this because you authored the thread.Message ID: @.***>
Dear professor, I have the same question, could you tell me how to deal with it Thanks!
get_bpt()
does not have a keyword plt_style
, so remove that from the function call, i.e.,
masks, fig, axes = maps.get_bpt()
Describe the bug Everytime I am facing this issue whenever i am trying to access a map.
To Reproduce Steps to reproduce the behaviour:
Expected behaviour A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):
Additional context Add any other context about the problem here.