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

ValueError: keyword grid_b is not recognized; valid keywords ar #2

Open
panlongming opened this issue Jun 26, 2024 · 11 comments
Open

Comments

@panlongming
Copy link

when i want to run the main.py in the humolire file ,why i can't run it,and its error like this.
ValueError: keyword grid_b is not recognized; valid keywords are ['size', 'width', 'color', 'tickdir', 'pad', 'labelsize', 'labelcolor', 'labelfontfamily', 'zorder', 'gridOn', 'tick1On', 'tick2On', 'label1On', 'label2On', 'length', 'direction', 'left', 'bottom', 'right', 'top', 'labelleft', 'labelbottom', 'labelright', 'labeltop', 'labelrotation', 'grid_agg_filter', 'grid_alpha', 'grid_animated', 'grid_antialiased', 'grid_clip_box', 'grid_clip_on', 'grid_clip_path', 'grid_color', 'grid_dash_capstyle', 'grid_dash_joinstyle', 'grid_dashes', 'grid_data', 'grid_drawstyle', 'grid_figure', 'grid_fillstyle', 'grid_gapcolor', 'grid_gid', 'grid_in_layout', 'grid_label', 'grid_linestyle', 'grid_linewidth', 'grid_marker', 'grid_markeredgecolor', 'grid_markeredgewidth', 'grid_markerfacecolor', 'grid_markerfacecoloralt', 'grid_markersize', 'grid_markevery', 'grid_mouseover', 'grid_path_effects', 'grid_picker', 'grid_pickradius', 'grid_rasterized', 'grid_sketch_params', 'grid_snap', 'grid_solid_capstyle', 'grid_solid_joinstyle', 'grid_transform', 'grid_url', 'grid_visible', 'grid_xdata', 'grid_ydata', 'grid_zorder', 'grid_aa', 'grid_c', 'grid_ds', 'grid_ls', 'grid_lw', 'grid_mec', 'grid_mew', 'grid_mfc', 'grid_mfcalt', 'grid_ms']

@panlongming
Copy link
Author

Is the matplot's problem ?

@anisghaoui
Copy link
Owner

Hi,

Those specific keywords are all related to matplotlib. "grid_b" isn't in matplotlib.

@panlongming
Copy link
Author

How to solve the issue?

@panlongming
Copy link
Author

Is that the issue of the version of the matplotlib

@panlongming
Copy link
Author

The issue above is the version of the matplotlib,but i got the other problem,“No handles with labels found to put in legend.”,it means it can't handle the map to the web?

@anisghaoui
Copy link
Owner

This means that some method fig.legend(argument) is called without the correct the argument. Check if you in any argument is build with handles.

@panlongming
Copy link
Author

What it means i don't understand

@anisghaoui
Copy link
Owner

you see this line

ax.legend(handles=[cyan_patch, blue_patch, magenta_patch, red_patch])
?

Any legend without handles or incorrect one will produce an error.

@panlongming
Copy link
Author

If you have any example data for me to test?

@panlongming
Copy link
Author

Hello,How is your dataformat,like acce.txt, Is that timestamp ax,ay,az?

@panlongming
Copy link
Author

If i can only use your code for pdr and its trajectory visualisaztion? not for map

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

2 participants