anisghaoui / humolire

HuMoLiRe is a Pedestrian Dead-Reckoning Particle Filter Map-aided system that leverages human motion likelihood in indoor spaces to estimate their position. This repository is the dataset and software published with its paper.
https://humolire.readthedocs.io/en/latest/
17 stars 3 forks source link

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

Open panlongming opened 3 months ago

panlongming commented 3 months ago

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 commented 3 months ago

Is the matplot's problem ?

anisghaoui commented 3 months ago

Hi,

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

panlongming commented 3 months ago

How to solve the issue?

panlongming commented 3 months ago

Is that the issue of the version of the matplotlib

panlongming commented 3 months ago

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 commented 3 months ago

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 commented 3 months ago

What it means i don't understand

anisghaoui commented 3 months ago

you see this line https://github.com/anisghaoui/humolire/blob/fd49117013f3167d8b95d9bc60946ad16d0e8aa3/humolire/main.py#L150?

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

panlongming commented 3 months ago

If you have any example data for me to test?

panlongming commented 2 months ago

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

panlongming commented 2 months ago

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