Skip to content

histFS autocompletion won't show / missing #134

@matteozanettii

Description

@matteozanettii

Hi everybody, I am a student of CLED and I will join Data Science (hopefully) next year. I was exploring this repo and consequently found the discussion about function autocompletion made by @BoschiGiacomo , I wanna share a discovery I made that can be a starting point for one's that want to join this project. In the screenshot below we see that histFS autocompletion is missing/ not showing (using the example directly from edit histFS.m)

Image

I tried to make a correction in the functionsignatures.json file as a way of learning the json file signatures autocompletion

"histFS":
{
"inputs":
[
{"name":"y", "kind":"required", "type":["numeric", "vector"], "purpose":"vector of n elements to bin"},
{"name":"nbins", "kind":"required", "type":["numeric", "vector"], "purpose":"the number of bins"},
{"name":"gy", "kind":"required", "type":["numeric", "vector"], "purpose":"identifier vector"},
{"name":"gylab", "kind":"ordered", "type":[["string"], ["cell"]], "purpose":"legend labels"},
{"name":"ax", "kind":"ordered", "type":"matlab.graphics.axis.Axes", "purpose":"plots into ax instead of gca"},
{"name":"barcolors", "kind":"ordered", "type":[["numeric"], ["char"]], "purpose":"colors of the bars"},
{"name":"W", "kind":"ordered", "type":["numeric", "vector"], "purpose":"Weights"}
],
"outputs":
[
{"name":"h", "type":"matlab.graphics.chart.primitive.Bar", "purpose":"Handles to the bar objects"}
]
}

But I am still struggling with making the json file, I hope to reach some better-prepared student that can handle this type of file better than me

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions