amir-f opened a new issue, #25852:
URL: https://github.com/apache/beam/issues/25852

   ### What happened?
   
   Trying to display the beam pipeline DAG while using the  
[InteractiveRunner](https://github.com/apache/beam/blob/master/sdks/python/apache_beam/runners/interactive/README.md)
 distorts the Jupyter notebook layout.
   
   Here is a code snippet to reproduce it
   
   ```python
   import apache_beam as beam
   import apache_beam.runners.interactive.interactive_beam as ib
   from apache_beam.runners.interactive.interactive_runner import 
InteractiveRunner
   
   with beam.Pipeline(runner=InteractiveRunner()) as p:
       (
           p
           | "Create numbers" >> beam.Create([1, 2, 3])
           | "Print results" >> beam.Map(print)
       )
   ```
   
   ### Software versions
   ```
   apache-beam              2.46.0
   jupyter                  1.0.0
   ```
   
   See the the screenshots below of before and after running this script in a 
Jupyter notebook.
   
   ### Before
   
![before](https://user-images.githubusercontent.com/1664697/225454803-002bcb08-a046-4f33-8b68-05d01ecb608e.png)
   
   ### After
   
![after](https://user-images.githubusercontent.com/1664697/225454798-913aa980-6842-4083-abbf-84a7993b4f2f.png)
   
   
   ### Issue Priority
   
   Priority: 2 (default / most bugs should be filed as P2)
   
   ### Issue Components
   
   - [X] Component: Python SDK
   - [ ] Component: Java SDK
   - [ ] Component: Go SDK
   - [ ] Component: Typescript SDK
   - [ ] Component: IO connector
   - [ ] Component: Beam examples
   - [ ] Component: Beam playground
   - [ ] Component: Beam katas
   - [ ] Component: Website
   - [ ] Component: Spark Runner
   - [ ] Component: Flink Runner
   - [ ] Component: Samza Runner
   - [ ] Component: Twister2 Runner
   - [ ] Component: Hazelcast Jet Runner
   - [ ] Component: Google Cloud Dataflow Runner


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to