Python Forum
How to fine tune cutecharts?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to fine tune cutecharts?
#1
Hello,
I have made a graph with cutecharts but how can I customize the plot? Specifically, how:
  1. do I add a horizontal dashed black line?
  2. do I increase the width of the lines?
  3. do I increase the size of labels?

I have set the plot like this:
x = df['x'].to_list()
y = df['y'].to_list()
z = df['z'].to_list()
chart = Line("title", width='750px',height='500px')
chart.set_options(
    labels=x,
    x_label='Time',
    y_label='Outcome'
)
chart.add_series('Out_1', y)
chart.add_series('Out_2', z)
chart.render('line.html')
chart.render_notebook()
Thank you
Yoriz write Jan-28-2022, 03:08 PM:
Please post all code, output and errors (in their entirety) between their respective tags. Refer to BBCode help topic on how to post. Use the "Preview Post" button to make sure the code is presented as you expect before hitting the "Post Reply/Thread" button.
Reply
#2
I have never seen this one before, probably quicker for you to contact one of the contributors listed here: https://github.com/cutecharts/cutecharts.py
You may very well get your answer here, but perhaps not as fast.
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  For Loop Works Fine But Append For Pandas Doesn't Work knight2000 2 2,032 Dec-18-2021, 02:38 AM
Last Post: knight2000
  The behavior of tune model has changed Led_Zeppelin 5 4,461 Oct-21-2021, 06:52 PM
Last Post: jefsummers
  Multimode imports fine as script but not after compiling into exe chesschaser 0 2,423 Aug-13-2020, 01:28 PM
Last Post: chesschaser
  Pyautogui script runs fine if split into two parts together it does not Bmart6969 1 2,551 Oct-07-2019, 10:53 PM
Last Post: Bmart6969
  assignment: not an operator nor expression, but x=y=z=3 works fine? jefdaels 1 2,194 Jan-29-2019, 02:19 PM
Last Post: perfringo
  Dict KeyError in cgi-bin script, works fine via console dbsoundman 2 3,925 Jul-21-2017, 08:03 PM
Last Post: dbsoundman

Forum Jump:

User Panel Messages

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