Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graphics source #18

Closed
wants to merge 2 commits into from
Closed

Graphics source #18

wants to merge 2 commits into from

Conversation

egriendeau
Copy link
Contributor

I fixed the graphics sourcing problem by creating a dynamic file path that links back to the qick-dawg graphics folder. I added these lines of code to each of the plot_sequence functions in the nvpulsing folder:

import os
graphics_folder = os.path.join(os.path.dirname(file), '../../graphics')
image_path = os.path.join(graphics_folder, 'RABI.png')

plt.imshow(mpimg.imread(image_path))

@i-am-mounce
Copy link
Collaborator

Delete these and add */pycache to the .gitignore file to see if that resolves those being uploaded.

@egriendeau egriendeau closed this May 8, 2024
@egriendeau egriendeau deleted the graphics-source branch May 8, 2024 15:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants