Skip to content Skip to sidebar Skip to footer

Python: Add Another Point In The Triangle/corner Plot

I am using the triangle/corner plot from python and I follow the simple guide in this webpage. Everything is ok but I was thinking about adding another point in the triangle plot.

Solution 1:

You have to edit over the ax. So if you want to plot something above, you have to do:

  1. figure, ax = pl.subplots(1, 1)
  2. figure = triangle.corner(samples, labels=["$m$", "$b$"],truths=[m_true, b_true])
  3. ax.plot(...)

Post a Comment for "Python: Add Another Point In The Triangle/corner Plot"