Python Forum
Storing chart objects in a dictionary
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Storing chart objects in a dictionary
#2
chart = n
will make chart point to the key(s) of the dictionary which is a string, but you want the value associated with that key. Try this:
chart = d[n]
Reply


Messages In This Thread
Storing chart objects in a dictionary - by bizzy - Nov-14-2018, 08:00 PM
RE: Storing chart objects in a dictionary - by heras - Nov-14-2018, 10:26 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Taking user input and storing that to a variable then storing that variable to a list jowalk 12 37,648 Mar-27-2017, 11:45 PM
Last Post: wavic

Forum Jump:

User Panel Messages

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