Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Underline title
#6
It is likely that tex/latex engine is not installed on your system.
Nevertheless, you can do the following: insert these lines just before rendering the figure
(plt.savefig):


# --- Insertion
from matplotlib import lines  #  put this line to header
rr = max(ax.get_ylim())
mm = np.mean(ax.get_xlim())
line = lines.Line2D([mm - 0.1, mm + 0.1], [1.05 * rr, 1.05 * rr], color='black')
line.set_clip_on(False)
ax.add_line(line)
# -------------
Reply


Messages In This Thread
Underline title - by paul18fr - Aug-06-2019, 09:18 AM
RE: Underline title - by Gribouillis - Aug-06-2019, 06:08 PM
RE: Underline title - by paul18fr - Aug-06-2019, 09:00 PM
RE: Underline title - by scidam - Aug-06-2019, 10:03 PM
RE: Underline title - by paul18fr - Aug-07-2019, 07:13 AM
RE: Underline title - by scidam - Aug-07-2019, 11:46 PM
RE: Underline title - by paul18fr - Aug-08-2019, 07:08 AM
RE: Underline title - by scidam - Aug-08-2019, 11:37 PM
RE: Underline title - by paul18fr - Aug-09-2019, 11:51 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  remove underline from hyperlink in excel SriMekala 0 1,898 Jul-25-2019, 01:58 PM
Last Post: SriMekala
  Highlight/Underline a string | ValueError: zero length field name in format searching1 1 3,035 Jul-01-2019, 03:06 AM
Last Post: metulburr
  How to change font size of chart title and axis title ? thrupass 5 15,616 Mar-30-2018, 04:02 PM
Last Post: DrFunn1

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020