Skip to content

[markov_II] FIX: fix state transition figure in lecture #420

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

Closed
wants to merge 2 commits into from

Conversation

mmcky
Copy link
Contributor

@mmcky mmcky commented Apr 16, 2024

This fixes #394

  • adds source code for newly generated example4.png file
  • check scale in preview

There is some discussion around making these figures using mermaid as the source is then included in the lecture and moves us closer to self contained documents. However in the short/medium term we will need to assess LaTeX compatibility.

Copy link

netlify bot commented Apr 16, 2024

Deploy Preview for taupe-gaufre-c4e660 ready!

Name Link
🔨 Latest commit 5d147fe
🔍 Latest deploy log https://app.netlify.com/sites/taupe-gaufre-c4e660/deploys/661ddd1820b7390008f690a5
😎 Deploy Preview https://deploy-preview-420--taupe-gaufre-c4e660.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

Copy link

github-actions bot commented Apr 16, 2024

@github-actions github-actions bot temporarily deployed to pull request April 16, 2024 01:44 Inactive
@github-actions github-actions bot temporarily deployed to pull request April 16, 2024 02:14 Inactive
@mmcky mmcky marked this pull request as ready for review April 16, 2024 02:45
@mmcky
Copy link
Contributor Author

mmcky commented Apr 16, 2024

@mmcky mmcky requested a review from jstac April 16, 2024 02:45
@mmcky mmcky mentioned this pull request Apr 16, 2024
@jstac
Copy link
Contributor

jstac commented Apr 16, 2024

Thanks @mmcky

@HumphreyYang , could you please do a first round review?

@@ -295,6 +295,7 @@ The transition graph shows that this model is irreducible.
```{image} /_static/lecture_specific/markov_chains_II/example4.png
:name: mc_example4
:align: center
:scale: 80%
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Many thanks @mmcky,

The code looks great to me.

On my side, the image looks slightly too wide:

Screenshot 57

Should we adjust the aspect ratio to make it narrower?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think #394 (comment) should fix the error. It would also keep it consistent with other figures in the lecture.

@mmcky
Copy link
Contributor Author

mmcky commented Apr 17, 2024

Closing this PR and will open another based on comment in #394

@mmcky mmcky closed this Apr 17, 2024
@mmcky mmcky deleted the update-fig-mkII branch April 17, 2024 04:20
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.

Fix arrow color
4 participants