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.

How to plot on top of existing figures?

See original GitHub issue

Hi,

Could you show me how to plot on top of existing figures? I find that you guys have a standalone mode. But I cannot use it. Here is my code

colour.plotting.plot_chromaticity_diagram_CIE1931(standalone=False)
plt.scatter(xy[:100,0], xy[:100,1])
colour.plotting.render(
    standalone=True,
    limits=(-0.1, 0.9, -0.1, 0.9),
    x_tighten=True,
    y_tighten=True)

image image image

What should I do in my case? Thanks,

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (3 by maintainers)

github_iconTop GitHub Comments

0reactions
hminlecommented, Feb 4, 2020

So it should be linked here close to the top!

https://colour.readthedocs.io/en/develop/#how-to-guide

oh nice, I did not notice about it. Thank again 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

python - add new plot to existing figure - Stack Overflow
So the basic idea is to call ax.plot() for all datasets you need to plot into the same plot. Share.
Read more >
Using matplotlib to plot over existing Figures
The idea is to load the original figure as an image and use matplotlib to display it. If we know how to transform...
Read more >
How to modify existing figure instance in Matplotlib?
In Python matplotlib.pyplot.figure() is used to modify existing Figure instance or make a new Figure instance. Generally, it is used to ...
Read more >
How to plot additional points on the top of a scatter plot in ...
Create a scatter plot with x and y data points. Plot the additional points with marker='*'. To display the figure, use show() method....
Read more >
How can I put existing figures in different subplots in another ...
1. Plot a figure. · 2. Click on the white icon, "Show Plot Tools and dock figure", on the top of the figure....
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