![Notebook wolfram](https://cdn3.cdnme.se/5447227/9-3/1_64e61dfaddf2b33c615a3cd3.png)
Take the following picture as an example, done with networkx, 100,000 people: However, I was completely aware of the additional functionalities of Wolfram Mathematica. Recently I was working with Social Networks in Python using networkx library to analyse posts from a given hashtag for our client. I am a Data Scientist working in a startup in Brazil.
![notebook wolfram notebook wolfram](https://www.wolfram.com/wolfram-alpha-notebook-edition/quick-help/img/input-7.png)
In case you are wondering why I used a nested With inside the Module instead of making img a module-variable too: it's because by the time doIt is evaluated, the local module variables will have been cleared, so I need to substitute the rasterized expression directly into the doIt function, This is what I have so far (includes only the preview code, not the uploader): button = Button[Ĭolumn[ Before uploading, I would like to show a preview of the image, to reduce the chance of something going awry before contacting the server. I would like to create a palette button that will upload the current notebook selection as an image. This problem came up when I was trying to make a preview window for an image uploader (see the end of that answer).
![notebook wolfram notebook wolfram](https://www.wolfram.com/wolfram-alpha-notebook-edition/img/hero-notebook-icon.png)
It does allow setting the rasterization width though. My answer should work on any platform, but it's less precise: e.g.
![notebook wolfram notebook wolfram](https://reference.wolfram.com/language/ref/Files/NotebookObject.en/1.gif)
Update Mr Wizard's answer gives pixel-perfect results, but it is Windows-only and destroys the clipboard contents.
![Notebook wolfram](https://cdn3.cdnme.se/5447227/9-3/1_64e61dfaddf2b33c615a3cd3.png)