#1 FK analysis snuffling plotting error

Open
opened 4 months ago by asteinbe · 0 comments

ubuntu 20.04

bottom=dh * num.arange(N), color=cmap(row / hist.max()))
/usr/lib/python3/dist-packages/matplotlib/colors.py:527: RuntimeWarning: invalid value encountered in less
  xa[xa < 0] = -1
snuffler:pyrocko.gui.snuffling - ERROR    - FK Analysis: Snuffling action raised an exception
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/dist-packages/pyrocko/gui/snuffling.py", line 1558, in check_call
    self.call()
  File "/home/sandra/.snufflings/obspy_fk_analyse_polar.py", line 198, in call
    ax.bar(left=(pi / 2 - (i + 1) * dw) * num.ones(N),
  File "/usr/lib/python3/dist-packages/matplotlib/__init__.py", line 1601, in inner
    return func(ax, *map(sanitize_sequence, args), **kwargs)
TypeError: bar() missing 1 required positional argument: 'x'
ubuntu 20.04 ``` bottom=dh * num.arange(N), color=cmap(row / hist.max())) /usr/lib/python3/dist-packages/matplotlib/colors.py:527: RuntimeWarning: invalid value encountered in less xa[xa < 0] = -1 snuffler:pyrocko.gui.snuffling - ERROR - FK Analysis: Snuffling action raised an exception Traceback (most recent call last): File "/usr/local/lib/python3.8/dist-packages/pyrocko/gui/snuffling.py", line 1558, in check_call self.call() File "/home/sandra/.snufflings/obspy_fk_analyse_polar.py", line 198, in call ax.bar(left=(pi / 2 - (i + 1) * dw) * num.ones(N), File "/usr/lib/python3/dist-packages/matplotlib/__init__.py", line 1601, in inner return func(ax, *map(sanitize_sequence, args), **kwargs) TypeError: bar() missing 1 required positional argument: 'x' ```
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.