Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

ImageRequestOptions ignoring viz_height and viz_width #1564

Copy link
Copy link
@bnoffke-uwcu

Description

@bnoffke-uwcu
Issue body actions

Describe the bug
The viz_height and viz_width options were added to ImageRequestOptions (this is the merge). The resulting class has the properties, but it doesn't actually control the image resolution output.

Versions
Details of your environment, including:

  • Tableau Server version (or note if using Tableau Online): 2024.2.2
  • Python version: 3.11.2
  • TSC library version: v0.36

To Reproduce
Code snippet:

image_req_option = TSC.ImageRequestOptions(viz_height=image_height,viz_width=image_width,maxage=-1)
print(f"TSC Image Height: {image_req_option.viz_height} TSC Image Width: {image_req_option.viz_width}")
self.server.views.populate_image(view, image_req_option)

I set the properties in the req_option, I print the properties to show they are set, then I populate the image with the given image_req_option.

Results
The resulting image only abides by the default behavior, or the High resolution request option. Maybe there's something I'm missing?
Print result:
Image
Output resolution:
Image

Reactions are currently unavailable

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.