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.

Feature Request: marker Parameter in function from_matplotlib()

See original GitHub issue

Is there a way to specify the marker type when using from_matplotlib()?

I browsed a bit through the code and it seems it would be straight forward to add an marker argument to the function but I was wondering if there is already some other way to achieve this (e.g. by changing the global default)?

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:7 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
luatorcommented, Oct 7, 2022

Thanks for taking care of this so fast! I did a quick test and it looks good to me. I think it is completely sufficient to have one marker style for all subplots in this function.

0reactions
piccolomocommented, Oct 6, 2022

Hi @luator,

I added the marker parameter to the from_matplotlib() function. It worked on my system, but if issue persists please keep updated. It would be great if you could double test it. It does not allow to change the marker for a specific subplot tough.

The new GitHub version 5.2.8 could be installed using: pip install git+https://github.com/piccolomo/plotext.

Thanks a lot for the issue report, and any other bug report is very welcomed.

All the best, Savino

Read more comments on GitHub >

github_iconTop Results From Across the Web

plot and scatter should allow marker to be a list #11155 - GitHub
Feature Request. It would be great if the plot and scatter functions would allow the marker kwarg to be a list.
Read more >
Marker reference — Matplotlib 3.6.2 documentation
Marker reference#. Matplotlib supports multiple categories of markers which are selected using the marker parameter of plot commands: Unfilled markers.
Read more >
Matplotlib 3.6.2 documentation
A dictionary object including validation. Validating functions are defined and associated with rc parameters in matplotlib.rcsetup . The list of rcParams is:.
Read more >
matplotlib.markers — Matplotlib 3.6.2 documentation
Functions to handle markers; used by the marker functionality of plot , scatter , and errorbar . All possible markers are defined here:...
Read more >
Usage Guide — Matplotlib 3.1.2 documentation
For functions in the pyplot module, there is always a "current" figure and axes (which is created automatically on request).
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