question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Argument tab completion for sc.pl.umap-like functions?

See original GitHub issue

It’d be nice if some level of tab completion of argument names could be maintained for functions like sc.pl.umap. This came up recently in #455, and I find myself frequently misspelling (mostly mis-pluralizing) argument names like color/ colors and gene_name/ gene_names. I’ve given this a shot using functools.wraps, but no luck yet.

Any ideas on if we could do this @flying-sheep?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
flying-sheepcommented, Mar 19, 2019

The PR is in motion, seems to work well!

0reactions
falexwolfcommented, Mar 19, 2019

Just wanted to mention that this would add much convenience. Since Fidel rewrote the plotting API, I saw that it was the right thing to do to reduce all the code in the almost-identical function headers, but I was missing the autocomplete, which had obviously disappeared.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Argument tab completion for sc.pl.umap-like functions? #535
It'd be nice if some level of tab completion of argument names could be maintained for functions like sc.pl.umap.
Read more >
Bash tab completion for argparse — argcomplete documentation
Tab complete all the things! Argcomplete provides easy, extensible command line tab completion of arguments for your Python script. It makes two assumptions:....
Read more >
Spigot Plugin Development - Tab Completion with Commands
Tab completion is when suggestions come up in the minecraft chat for the next argument for the command. We can do this by...
Read more >
Tab-completion of filenames as arguments for MATLAB scripts
This appears to contain the argument type mappings for tab completion. ... Suppose you have a Matlab function file called myFunction.m .
Read more >
Dynamic Tab Completion with PowerShell ArgumentCompleters
Argument completers allow you to define tab completion on any of your PowerShell functions with just a few lines of code.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found