anisghaoui/humolire

ValueError: keyword grid_b is not recognized; valid keywords ar

Opened this issue · 11 comments

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']

Is the matplot's problem ?

Hi,

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

How to solve the issue?

Is that the issue of the version of the matplotlib

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?

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.

What it means i don't understand

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.

If you have any example data for me to test?

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

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